Difference between Hash table and Dictionary in .NET

Here’s a simple difference between Hashtable and Dictionary in .NET

DictionaryHashtable
It is generic in natureIt is non generic in nature
It is defined in the namespace System.Collections.GenericIt is defined in the namespace System.Collections
When a request is made to the dictionary and if the key does not exists , you get an exceptionWhen a request is made to the Hashtable and if the key does not exist , null is returned.
Doesn’t require boxing and unboxingRequires boxing and unboxing