public void addNode(string key, string Value) { dictNode temp = new dictNode(); if (!hashTab.Exists(x => x.key == generatehash(key))) { temp.key = generatehash(key); temp.value = Value; hashTab.Add(temp); } }