template<typename T> bool Equals( T x, // the first value T y// the second value );
[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.