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("c", 101);
hashtable.Add("c++", 102);
hashtable.Add("java", 107);
int value = (int)hashtable["c#"];
Console.WriteLine(value);
}
}
}
/*
run:
100
*/