Click or drag to resize

CondensedCollectionExtensionsMax Method (CondensedCollectionNullableInt32)

[This is preliminary documentation and is subject to change.]

Computes the maximum value of a sequence of nullable Int32 values. Optimized for a CondensedCollection.

Namespace:  Condensed.Linq
Assembly:  Condensed (in Condensed.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
public static Nullable<int> Max(
	this CondensedCollection<Nullable<int>> source
)

Parameters

source
Type: CondensedCondensedCollectionNullableInt32
A CondensedCollection of nullable Int32 values to determine the maximum value of.

Return Value

Type: NullableInt32
The maximum value in the sequence, or null if the source sequence is empty or contains only values that are null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CondensedCollectionNullableInt32. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionsource is null
Remarks
See Also