using System.Collections.Generic;
public static void Main()
Dictionary<string, string> myDict = createDict();
foreach(KeyValuePair<string, string> element in myDict)
Console.WriteLine($"Key: {element.Key} and Value: {element.Value}");
private static Dictionary<string, string> createDict()
Dictionary<string, string> d = new Dictionary<string, string>();