c# dictionary add keys to string code example
Example 1: c# dictionary add
Dictionary<char, string> alphabetCode = new Dictionary<char, string>();
alphabetCode.Add('A', "Alpha");
Example 2: c# dictionaries
IDictionary<int, string> dict = new Dictionary<int, string>();
//or
Dictionary<int, string> dict = new Dictionary<int, string>();