What is the difference between dictionary and hashtable in c#?
Answer / Swatantra Gupta
Dictionary and Hashtable are both collection classes that store key-value pairs. Dictionary is newer, faster, more flexible, and allows for null keys while Hashtable is slower but can handle non-generic types and does not allow null keys.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why delegates are required?
What is getenumerator?
What do you mean by delegates and explain different types of delegates?
Does a class need a constructor c#?
Is it possible to have different access modifiers on the get/set methods of a property in c#?
What is object type in c#?
What is an argument in c#?
What is use of super class
What is the use of return in c#?
What are sorted lists?
What is thread safe in c#?
What do you mean by streamreader/streamwriter class in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)