What is dictionary and hashtable in c#?
Answer / Deepak Kumar
In C#, Dictionary<TKey, TValue> is a collection of key-value pairs. It is implemented as a hash table for fast lookups using keys. Hashtable is an older, non-generic collection that functions similarly to Dictionary but requires specific types for the keys and values.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the 3 types of properties in c# with an example?
Can namespace contain the private class?
What are the security issues if we send a query from the application?
Is c# still popular?
How do you escape c#?
What is difference between struct and class in c#?
how to prevent a class from being inherited in c#.net?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
what is the difference between the debug class and trace class?
What do you mean by for each loop?
Define Abstract Class in C#
Is c# a technology?
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)