0
Difference between HashTable and Dictionary?
Interview Questions
2 ответов
0
Dictionary is slightly faster than Hashtable and it is generic. That means Dictionary can hold values of a specific type instead of object. Casting is no longer required.
0
in terms of C# hashtable can accept null value but dictionary will throw null exception if the key does not exist