Hashtable
After I created a Hashtable "object myHashTable = new Hashtable();" How do I add data to and read data from the Hashtable? Use C# codes please.
Thanks.
DanYeung
[181 byte] By [
Acceris] at [2007-11-11 7:49:51]

# 1 Re: Hashtable
Dan: Any particular reason you're declaring myHashTable as object instead of as HashTable? I would do this:
HashTable myHashTable = new HashTable();
Then type "myHashTable." and follow the IntelliSense. ;-) You can also find numerous examples by Googling for "c# hashtable".