예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="list"></param>
 /// <returns></returns>
 public static List <T> RandomSort <T>(this List <T> list)
 {
     return(RandomUtils.RandomSort(list));
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="array"></param>
 /// <returns></returns>
 public static T[] RandomSort <T>(this T[] array)
 {
     return(RandomUtils.RandomSort(array));
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="source"></param>
 /// <param name="count"></param>
 /// <returns></returns>
 public static List <T> RandomTake <T>(this List <T> source, int count)
 {
     return(RandomUtils.RandomTake(source, count));
 }
예제 #4
0
 /// <summary>
 ///
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="source"></param>
 /// <param name="count"></param>
 /// <returns></returns>
 public static T[] RandomTake <T>(this T[] source, int count)
 {
     return(RandomUtils.RandomTake(source, count));
 }