level 4
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Hashtable hshTable = new Hashtable();
hshTable.Add("杭州",0571);
hshTable.Add("湖州",0572);
Console.Out.WriteLine(hshTable["杭州"]);
}
}
}
我用C#写类似的哈希表,是571,正常的。
2010年02月08日 09点02分