Compares two values for equality.
[in] The first value
[in] The second value
Returns true if the objects are equal, or false otherwise.
If the T type is an object that implements the IEqualityComparable<T> interface, then the objects will be compared based on its Equals comparison method. The standard comparison for equality is used in all other cases.