min()

The min linq operator returns either (1) the minimum element in the collection or (2) the minimum value projected from the elements of the collection by the "selector" function. If the collection is empty, an exception is thrown.

max()

The max linq operator returns either (1) the maximum element in the collection or (2) the maximum value projected from the elements of the collection by the "selector" function. If the collection is empty, an exception is thrown.