private void StudentDictionaryTesting() { StudentDictionary studentDictionary = new StudentDictionary { new Student("Albert", "Guiness", new DateTime(1426, 2, 1)), new Student("Peter", "Stranford", new DateTime(1963, 4, 2)) }; foreach (var key in studentDictionary.Keys) { Console.WriteLine("<<<<{0} {1} in Student(Keyed)Collection", key.Item1, key.Item2); } }
private void StudentDictionaryTesting() { StudentDictionary studentDictionary = new StudentDictionary { new Student("Albert", "Guiness", new DateTime(1426,2,1)), new Student("Peter", "Stranford", new DateTime(1963, 4, 2)) }; foreach (var key in studentDictionary.Keys) Console.WriteLine("<<<<{0} {1} in Student(Keyed)Collection", key.Item1, key.Item2); }