sort IList - CSharp System.Collections.Generic

CSharp examples for System.Collections.Generic:IList

Description

sort IList

Demo Code


using System.Collections;
using System;/*from   w  w w.j a v a 2 s .  c  o m*/

public class Main{
    public static void sort(IList list, IComparer comparer)
      {
         ((ArrayList) list).Sort(comparer);
      }
    public static void sort(IList list)
      {
         ((ArrayList) list).Sort();
      }
}

Related Tutorials