c# key values code example
Example 1: c# dictionaries
IDictionary<int, string> dict = new Dictionary<int, string>();
//or
Dictionary<int, string> dict = new Dictionary<int, string>();
Example 2: c sharp add item to dictionary
// To add an item to a dictionary use 'Add()'
dict.Add(1,"One");