Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Programming
→
ASP Dot net Interview Questions in Programming
→
What is the difference between Hash Table and Dict...
1.
What is the difference between Hash Table and Dictionary?
Answer»
HASHTABLE
Dictionary
Hashtable included in System.Collections namespace
Dictionary included in System.Collections.Generic namespace
It is weakly
STRUCTURED
data type in key values pair we can take any object type
In this strong in a data type that you must have to specify the data type of the key value pair
Returns null as a result if key which does not exist
Throws exception if we try to find with a key that not exists
It is generic type
It is non-generic type
It is faster since we don’t need to do boxing and
UNBOXING
in this
It is slower than hashtable and it involves an additional step of boxing and unboxing
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
What is View State?
What are the advantages of using session?
Explain Cookie-less Session in ASP.NET?
What is the difference between ASP.NET Web API and WCF?
What all are the differences between Rectangular and Jagged Array?
Why do we need Reflection?
What are indexers in C# .NET? What is the difference between property & indexers?
What is the difference between the “throw” and “throw ex” in .NET?
What are extension methods and where can we use them?
How to use Nullable Types in .NET?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies