Gets the number of objects in the hash table.
Gets the number of objects.
Hashtable hashTable = new Hashtable();
hashTable.Add("0", "apples");
hashTable.Add("1", "bananas");
hashTable.Add("2", "pears");
int count = hashTable.Count; // 3
HashList Class | Sitecore.Collections Namespace