Dictionaryages = new Dictionary ();
ages.Add("John", 25); ages.Add("Jane", 30); ages.Add("Bob", 35);
int johnsAge = ages["John"];
ages.Remove("Bob");This removes the key-value pair with the key "Bob" from the "ages" dictionary. The global::System.Collections.Generic.Dictionary is a part of the .NET framework and does not belong to any external package library.