public void CountTest() { _target.Add(1, "1"); _target.Add(2, "2"); _target.Add(3, "3"); Assert.AreEqual(3, _target.Count()); }
static void Main(string[] args) { MyDictionary <string, int> myDictionary = new MyDictionary <string, int>(); myDictionary.Add("Denizli", 20); myDictionary.Add("Ankara", 06); Console.WriteLine(myDictionary.Count()); }