Returns a grouping by the unique elements in a list.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static Grouping<T> Group<T>(
this IList<T> keys
)
<ExtensionAttribute>
Public Shared Function Group(Of T) (
keys As IList(Of T)
) As Grouping(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Grouping<T>^ Group(
IList<T>^ keys
)
[<ExtensionAttribute>]
static member Group :
keys : IList<'T> -> Grouping<'T>
Parameters
- keys
- Type: System.Collections.GenericIListT
A list.
Type Parameters
- T
- The type of the elements of the list.
Return Value
Type:
GroupingTA grouping of the elements of
keys and
indexed by the unique elements in
keys.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IListT. 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).
Numerical Libraries
Supported in: 6.0
Reference