October 07, 2005

How to loop through the Hash Table ?

foreach (DictionaryEntry entry in hashTable)
Console.WriteLine ("Key={0}, Value={1}\n", entry.Key, entry.Value);

No comments:

Post a Comment