You have to use: DictionaryEntry
[sourcecode lang=“c#“]Hashtable ht = new Hashtable();
ht[„one“] = 1;
ht[„two“] = 2;
ht[„three“] = 3;
foreach(DictionaryEntry data in ht)
{
Debug.WriteLine( data.Key + “ => “ data.Value );
}[/sourcecode]
Some code snippets which I need in my daily life
You have to use: DictionaryEntry
[sourcecode lang=“c#“]Hashtable ht = new Hashtable();
ht[„one“] = 1;
ht[„two“] = 2;
ht[„three“] = 3;
foreach(DictionaryEntry data in ht)
{
Debug.WriteLine( data.Key + “ => “ data.Value );
}[/sourcecode]
Comments are closed.
good thank you