コード例 #1
0
 /// <summary>
 /// MergeSort a list
 /// </summary>
 // Token: 0x06000647 RID: 1607 RVA: 0x000144FD File Offset: 0x000126FD
 public static void Sort <T>(IList <T> list, IComparer <T> comparer)
 {
     MergeSort.Sort <T>(list, 0, list.Count - 1, comparer);
 }
コード例 #2
0
 /// <summary>
 /// MergeSort a list of comparable items
 /// </summary>
 // Token: 0x06000646 RID: 1606 RVA: 0x000144E7 File Offset: 0x000126E7
 public static void Sort <T>(IList <T> list) where T : IComparable <T>
 {
     MergeSort.Sort <T>(list, 0, list.Count - 1, Comparer <T> .Default);
 }