Returns a value indicating whether this instance is equal to a specified int value.
- obj
An int value to compare to this instance.
![]()
true if obj has the same value as this instance; otherwise, false.
This method implements the IEquatable`1 interface, and performs slightly better than int.Equals(object) because it does not have to convert the obj parameter to an object.