Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Collection Classes
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?
t.ContainsKey("Kerala");
t.HasValue("Kerala");
t.HasKey("Kerala");
t.ContainsState("Kerala");
t.ContainsValue("Kerala");
Show Answer
Correct Answer:
t.ContainsKey("Kerala");
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment