
using System;

using System.Collections.Generic;

using System.Collections;

using System.Collections.Specialized;

namespace ConsoleApplication1


...{


class Program


...{


static void Main(string[] args)


...{

System.Collections.Hashtable ht = new System.Collections.Hashtable();

ht.Add("DdpMDisplaySeq".Trim(), "Display Sequence".Trim());

ht.Add("DdpMNameChi".Trim(), "Name (Chinese)".Trim());

ht.Add("DdpMNameEng".Trim(), "Name (English)".Trim());

ht.Add("Comment".Trim(), "Comment".Trim());

ht.Add("DdpMMarketCode".Trim(), "Market Code".Trim());

foreach (object key in ht.Keys)


...{

Console.WriteLine("{0}/{1} {2},{3}", key, ht[key], key.GetHashCode(), ht[key].GetHashCode());

}

Console.WriteLine(" ");//

NameValueCollection myCol = new NameValueCollection();

myCol.Add("DdpMDisplaySeq".Trim(), "Display Sequence".Trim());

myCol.Add("DdpMNameChi".Trim(), "Name (Chinese)".Trim());

myCol.Add("DdpMNameChi".Trim(), "Name (English)".Trim());

myCol.Add("Comment".Trim(), "Comment".Trim());

myCol.Add("DdpMMarketCode".Trim(), "Market Code".Trim());

foreach (string key in myCol.Keys)


...{

Console.WriteLine("{0}/{1} {2},{3}", key, myCol[key], key.GetHashCode(), myCol[key].GetHashCode());

}


}


}



}