Question: A HashTable t maintains a collection of names of states and capital city of each state. Which of the following is the correct way to find out whether "Kerala" state is present in this collection or not?
Options
A : t.ContainsKey("Kerala");
B : t.HasValue("Kerala");
C : t.HasKey("Kerala");
D : t.ContainsState("Kerala");
Collection Classes - General Questions more questions
How many enumerators will exist if four threads are simultaneously....
In which of the following collections is the Input/Output index-based?
In which of the following collections is the Input/Output based....
In a HashTable Key cannot be null, but Value can....
Which of the following statements are correct about the Stack....
Which of the following is the correct way to access....
Which of the following is NOT an interface declared in....
Suppose value of the Capacity property of ArrayList Collection is....
Which of the following is an ordered collection class?
Which of the following is the correct way to find....
Attributes - General Questions more Online Exam Quiz
Attributes - General Questions
Classes and Objects - General Questions
Constructors - General Questions