mscorlib(4.0.0.0) API with additions
System.IEquatable< T > Interface Template Reference

Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances. More...

Inheritance diagram for System.IEquatable< T >:
[legend]

Public Member Functions

bool Equals (T other)
 Indicates whether the current object is equal to another object of the same type. More...
 

Detailed Description

Defines a generalized method that a value type or class implements to create a type-specific method for determining equality of instances.

Template Parameters
TThe type of objects to compare.

Definition at line 6 of file IEquatable.cs.

Member Function Documentation

◆ Equals()

bool System.IEquatable< T >.Equals ( T  other)

Indicates whether the current object is equal to another object of the same type.

Parameters
otherAn object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.

The documentation for this interface was generated from the following file: