IDictionaryIn this example, we create an empty dictionary of string keys and integer values, then use the Add method to add two students and their ages. The package library used for the IDictionary interface in C# is System.Collections.Generic.studentAges = new Dictionary (); studentAges.Add("John", 18); studentAges.Add("Jane", 20);