Display data from Dictionary collection using Key

Sourav.Kayal
Posted by Sourav.Kayal under C# category on | Points: 40 | Views : 691
class Program
{
static void Main(string[] args)
{
Dictionary<string, string> Di = new Dictionary<string, string>();
Di.Add("sourav", "kayal");
Console.WriteLine(Di["sourav"]);
Console.ReadLine();
}
}

Comments or Responses

Login to post response