In C#, both ArrayList
and Hashtable
are collections, but they have different characteristics and purposes.
In Arraylist we can only add Items/ Values to the list.
In Hashtable we can add Items/Values with the Keys.
In C#, both ArrayList
and Hashtable
are collections, but they have different characteristics and purposes.
In Arraylist we can only add Items/ Values to the list.
Our website uses cookies to improve your experience. Learn more
Ok