I want to store multiple values in single key like:
HashTable obj = new HashTable(); obj.Add(\"1\", \"test\"); obj.Add(\"1\", \"Test1\");
Right
That throws an error because you're adding the same key twice. Try using a Dictionary instead of a HashTable.
Dictionary
HashTable
Dictionary> values = new Dictionary>(); IList list = new List() { "test", "Test1" }; values.Add(1, list);