dictionary.add values to array c# code example
Example 1: c# dictionary add
Dictionary<char, string> alphabetCode = new Dictionary<char, string>();
alphabetCode.Add('A', "Alpha");
Example 2: c# add key value pair to dictionary
d.Add(new KeyValuePair<int, string>(1, "TVs"));
Example 3: Dictionary.Add values to array c#
wordDictionary.Add("IN", new string[] {"After","Though","Among","Toward","If"});