private static void DisplayDictionary(string title, Dictionary test) { Console.WriteLine(title); foreach (var it in test) { Console.WriteLine($"Key: {it.Key}, Value: {it.Value}"); } }