Computer Science, asked by Nishthaakukreja7146, 11 months ago

Why is a Dictionary preferred over a Hashtable in C#?

Answers

Answered by deveshkumar3
0

dictionary called I words group which called I dictionary

dictionary mean words group.

Answered by Anonymous
0

Hashtable is a weakly typed data structure, so you can add keys and values of any object type. When you try to access non existing key Hashtable, it gives null values. Hashtable never maintains an order of the stored values. Hashtable needs boxing/unboxing, so it is slower than Dictionary.

Similar questions