ListExt ClassList<T> extensions.
Inheritance Hierarchy
System.Object
UltimateXR.Extensions.System.Collections.ListExt
Namespace: UltimateXR.Extensions.System.Collections
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static class ListExt
The ListExt type exposes the following members.
Methods
Name | Description | |
---|---|---|
IndexOf<T> | Gets the index of a given item in a list. | |
RandomElement<T> | Returns a random element from the list. | |
RandomElementsWithoutRepetition<T> | Returns a list with n random elements from a list without repetition. | |
RandomElementsWithoutRepetitionExcept<T> | Returns a list with n random elements from a list without repetition. An additional list can be provided to exclude elements from appearing in the results. | |
Shuffled<T> | Returns a list with the input list elements shuffled. |