What is HashTable, what is the use of it, when do we use
(purpose).
Answer Posted / shiva charan
1.basically hashtable stores in terms of (key,value) pair.
2.all the searching operations can be done in O(1) time
complexity.
3. hashtable when u insert the values internally it uses
some optimized algorithm so that accessing will be pretty
much easier.
all the searching operations will be done with less time
complexity if u store the data in a hash table
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Is hashset serializable c#?
What are anonymous types in c#?
Why is static constructor called first?
What are functions c#?
How main method is called in c#?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
Perfect Example Of While And Do-While Loop In C#.Net ?
What is datatable in c#?
Is there a way of specifying which block or loop to break out of when working with nested loops?
How many bytes is a long c#?
What is the difference while using directive vs using statement ?
What is asp net c# corner?
What is static classes?
When should I use static in C#?
Why is c# used?