implementation of chained hash table in C#