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);
Console.WriteLine(hashtable[102]);
string value = hashtable[102] as string;
Console.WriteLine(value);
}
}
}
/*
run:
c++
*/