public void IndexOfKeyMissing() { //**************************************** var MyRecords = new StringKeyDictionary <int>(); //**************************************** MyRecords["A"] = 42; //**************************************** Assert.AreEqual(-1, MyRecords.IndexOfKey("B")); }