 | CondensedCollectionExtensionsMin Method (CondensedCollectionInt64) |
[This is preliminary documentation and is subject to change.]
Computes the minimum value of a sequence of Int64 values. Optimized for a CondensedCollection.
Namespace:
Condensed.Linq
Assembly:
Condensed (in Condensed.dll) Version: 0.1.0.0 (0.1.0.0)
Syntaxpublic static long Min(
this CondensedCollection<long> source
)
<ExtensionAttribute>
Public Shared Function Min (
source As CondensedCollection(Of Long)
) As Long
public:
[ExtensionAttribute]
static long long Min(
CondensedCollection<long long>^ source
)
[<ExtensionAttribute>]
static member Min :
source : CondensedCollection<int64> -> int64
Parameters
- source
- Type: CondensedCondensedCollectionInt64
A CondensedCollection of Int64 values to determine the minimum value of.
Return Value
Type:
Int64The minimum value of the sequence of values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CondensedCollectionInt64. 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
Remarks
This implementation of Min() is specialized for a CondensedCollection and tries to
take advantage of the CondensedCollection's knowledge of unique values in order to improve performance.
If you would rather use the normal LINQ extension method then cast the CondensedCollection to an
IListT
to use the
Min(IEnumerableInt64) implementation.
See Also