Associative Array C# .Net

Paul Kinlan

A visitor to my site from google was looking for: associative array c# .net.

The only thing I can say about this really is that an associative array in C# is just a hash table.

The hash table associates a key of type object with an associated object.
For Example:

Hashtable ht = new Hashtable();
ht.Add(“testKey”, “AssociatedData”);
MessageBox.Show(ht[“testKey”]);

Paul Kinlan

Trying to make the web and developers better.

RSS Github Medium