Gets a key by an index.
Returns the key at the index'ed position. If the index is less than zero or greater than the length of the table, blank is returned.
Hashtable hashTable = new Hashtable();
hashTable.Add("0", "apples");
hashTable.Add("1", "bananas");
hashTable.Add("2", "pears");
string bananaKey = hashTable.GetKey(1);
HashList Class | Sitecore.Collections Namespace