using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication2 { class Program { static void Main() { SortedListsorted = new SortedList (); sorted.Add("perls", 3); sorted.Add("dot", 1); sorted.Add("net", 2); foreach (var pair in sorted) { Console.WriteLine(pair); } Console.WriteLine("count is = " + sorted.Count); Console.ReadLine(); } } }
Wednesday 4 April 2012
Sorted List
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment