Hashtable in c#.net

By j Miracle

Describes the Hashtable class in c#.net

A Hashtable is a collection of key-value pairs. In .NET, the class that implements a hash table is the Hashtable class.

Elements can be added to the hash table by calling the Add method passing in the key-value pairs that you want to add.

The objects used as keys must implement

Object.Equals and Object.GetHashCode methods.

The value can be any type.

Hashtable in c#.net  (1524 Views)