| ListExtensionsGetSequenceHashCodeT Method |
Gets the hash code for the specified sequence of elements.
Namespace:
Ookii.Jumbo
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public static int GetSequenceHashCode<T>(
this IEnumerable<T> list
)
<ExtensionAttribute>
Public Shared Function GetSequenceHashCode(Of T) (
list As IEnumerable(Of T)
) As Integer
public:
[ExtensionAttribute]
generic<typename T>
static int GetSequenceHashCode(
IEnumerable<T>^ list
)
[<ExtensionAttribute>]
static member GetSequenceHashCode :
list : IEnumerable<'T> -> int
Parameters
- list
- Type: System.Collections.GenericIEnumerableT
A list.
Type Parameters
- T
- The type of the elements
Return Value
Type:
Int32A hash code for the entire sequence.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableT. 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).
See Also