using System;
using System.Collections;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main(string[] args)
{
Hashtable hashtable = new Hashtable();
hashtable.Add("c#", 100);
hashtable.Add(101, "c");
hashtable.Add(102, "c++");
hashtable.Add("java", 107);
int value = (int)hashtable["c#"];
Console.WriteLine(value);
string s = (string)hashtable[102];
Console.WriteLine(s);
}
}
}
/*
run:
100
c++
*/