Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement
HR
Current affairs
Engineering
MCA
MBA
Online Test
Videos
Login
Online Practice Test
>
Csharp.NET
« Previous
Next »
What is the .NET collection class that allows an element to be accessed using a unique key?
Options
- HashTable
- ArrayList
- SortedList
CORRECT ANSWER : HashTable
Discussion Board
Unique key (correction)
I meant to say that the SortedList is a collection that contains key/value pairs like the Hashtable but differs because it can be referenced by either the key or index and it is also sorted. But the main point is that it is a collection class that also allows an element to be accessed using a unique key.
Kevin L. Egypt 09-24-2013 10:17 PM
Unique key
A SortedList is a collection that contains key\value pairs just like the Hashtable but it can be referenced by the key OR the index because it is sorted. So the answer to this question would actually be BOTH the HashTable and SortedList.
Kevin L. Egypt 09-24-2013 10:14 PM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
ASP.NET (41)
ASP.NET (16)
ASP.NET (16)
ASP.NET for Freshers (19)
ASP.NET for Experienced (19)
ASP.NET (20)
ASP.NET (20)
ASP.NET (25)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
ASP.NET (20)
Dot.Net (100)
.NET Framework (26)
.NET Caching (7)
.NET Remoting and webservices (10)
.NET Security (11)
ADO.NET (10)
C#.NET (25)
VB.NET (33)
DOT.NET (10)
C#.NET freshers (20)
C#.NET freshers (20)
C#.NET experienced (20)
C#.NET (25)
C#.NET (20)
Sharepoint (20)
Sharepoint 2007 (15)
WCF (50)
WPF (45)
Advertisement
▲