Which is faster hashtable or dictionary?



Which is faster hashtable or dictionary?..

Answer / Deepika Rawat

In general, Dictionary provides better performance than Hashtable for key-value pair operations such as add, remove, and lookup. This is because Dictionary was introduced later in the .NET Framework and is implemented with a more efficient data structure.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Does C# support multiple inheritance?

5 Answers  


What is datasource c#?

1 Answers  


What’s a strong name?

1 Answers  


Is c# strongly typed?

1 Answers  


What is difference between internal and protected internal in c#?

1 Answers  


Describe an abstract class?

1 Answers   Siebel,


Can you prevent your class from being inherited and becoming a base class for some other classes?

5 Answers  


Why do we need serialization?

1 Answers  


Can we extend sealed class in c#?

1 Answers  


How to move to a state-related codebase?

1 Answers  


How does a while loop work?

1 Answers  


What?s the difference between System.String and System.StringBuilder classes?

1 Answers  


Categories