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


Please Help Members By Posting Answers For Below Questions

What is generic in c#?

461


What are immutable types in c#?

485


What is difference between value and reference types in C#.NET

522


What is deferred execution?

482


What is a delegate how is it type safe?

467






How do I know if executenonquery is successful c#?

451


What are extensions in c#?

537


What is the max value of int32 in c#?

496


What is the purpose of dictionary in c#?

459


Explain how obfuscator works in .net

549


How are methods overloaded?

544


What’s thread.sleep() in threading ?

511


What is lazy keyword in c#?

530


What is executescalar in c#?

463


What is trim in c#?

545