RandomListExtensions Class

Summary

Extensions for Random.
Namespace
StrideToolkit.Collections
Base Types
  • object
graph BT Type-->Base0["object"] Type["RandomListExtensions"] class Type type-node

Syntax

public static class RandomListExtensions

Methods

Name Value Summary
Choose<T>(Random, IList<T>) T
Chooses a random item.
static
Choose<T>(Random, T[]) T
Chooses a random item.
static
Shuffle<T>(Random, IList<T>) void
Shuffles the collection in place.
static