static public void Shuffle <T>(this IList <T> item, RandIntSource source) { for (int i = 0; i < item.Count; i++) { item.SwapValues(i, source.GetBetween(i, item.Count)); } }
static public int GetBetween(int a, int b) { return(SOURCE.GetBetween(a, b)); }