T_WolfCurses_EnumerableExtension - Maxwolf/WolfCurses GitHub Wiki
Collection of extension methods used for manipulating a enumerable collection of objects.
System.Object
WolfCurses.EnumerableExtension
Namespace: WolfCurses
Assembly: WolfCurses (in WolfCurses.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static class EnumerableExtension
The EnumerableExtension type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() |
PickRandom(T)(IEnumerable(T)) | Picks a random element from the list. |
![]() ![]() |
PickRandom(T)(IEnumerable(T), Int32) | Picks a random element from the list. |
![]() ![]() |
Shuffle(T) | Bubble sorts all the elements in the collection. |
http://stackoverflow.com/a/2019433
Supported in: 0.1