March 2004
Intermediate to advanced
560 pages
26h 47m
English
using System;
using System.Collections;
namespace Samples
{
public class DictionaryEntrySample
{
public static void Main()
{
Hashtable t = new Hashtable();
t.Add("damien", "maire");
t.Add("mark", "sacha");
t.Add("brad", "tamara");
foreach(DictionaryEntry d in t)
{
Console.WriteLine("Key: {0} Value: {1}",
d.Key, d.Value);
}
}
}
}
Key: damien Value: maire Key: mark Value: sacha Key: brad Value: tamara
Read now
Unlock full access