using System.Collections.Generic;
public static void Main()
Dictionary<int,string> mydict=new Dictionary<int,string>(){
{2,"gokul"},{3,"chander"},{1,"pandey"}};
foreach(KeyValuePair<int,string> i in mydict){
Console.WriteLine("key: " +i.Key +", " +"value:"+i.Value);}
Dictionary<int,string>.KeyCollection keys=mydict.Keys;