Randomized Collection<T> Constructor
Definition
Namespace: Numerics.NET.Random
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Overload List
| Randomized | Constructs a new RandomizedCollection<T>. |
| Randomized | Constructs a new RandomizedCollection<T>. |
RandomizedCollection<T>(IEnumerable<T>)
Constructs a new RandomizedCollection<T>.
public RandomizedCollection(
IEnumerable<T> list
)Parameters
- list IEnumerable<T>
- An object that implements the IEnumerable interface.
Exceptions
| Argument | list is null. |
RandomizedCollection<T>(IEnumerable<T>, Random)
Constructs a new RandomizedCollection<T>.
public RandomizedCollection(
IEnumerable<T> list,
Random random
)Parameters
- list IEnumerable<T>
- An object that implements the IEnumerable interface.
- random Random
- The random number generator to use to generate the randomization.
Exceptions
| Argument | list is null. -or- random is null. |