public static void Main() { Organisation o1 = new Organisation("A", 100, 2, 2018); Organisation o2 = new Organisation("B", 100, 5, 2018); o1.IComparer(o2); int z = o1.CompareTo(o2); Organisations or1 = new Organisations(); or1.print(); }
public static void Main() { Organisation o1 = new Organisation("A", 100, 2, 2018); Organisation o2 = new Organisation("B", 100, 5, 2018); o1.IComparer(o2); int z = o1.CompareTo(o2); Organisations or1 = new Organisations(); or1.print(); }