1
Answer

two list in the hash table

Photo of Rama Krishna

Rama Krishna

11y
1.3k
1
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)