Rama Krishna

Rama Krishna

  • NA
  • 98
  • 933

two list in the hash table

Dec 31 2013 6:03 AM
List<string> str1=new List<string>();
str1.Add("a");
str1.Add("b");

List<string> str2=new List<string>();
str1.Add("apple");
str1.Add("ball");

Hashtable ht = new Hashtable();
            ht.Add(str1, str2);


 can i check str1 is equal to from the previous page list And display the str2 value as result.

Answers (1)