C# | Check if a Hashtable is equal to another Hashtable
Last Updated : 1 Feb, 2019
The Hashtable class represents a collection of key-and-value pairs that are organized based on the hash code of the key. The key is used to access the items in the collection.
Syntax:
myTable1.Equals(myTable2)
Here, myTable1 and myTable2 are the two Hashtables which is to be checked.
Below given are some examples to understand the implementation in a better way:
Example 1: