Determines whether the specified object is equal to the current object.

Namespace: Contracts.Data
Assembly: Contracts (in Contracts.dll)

Public Overrides Function Equals( _ 
ByVal obj As Object
) As Boolean
This language is not supported or no code example is available.
public override bool Equals( 
object obj 
)
This language is not supported or no code example is available.
public:  
bool Equals( 
object^ obj 
)
This language is not supported or no code example is available.
public function Equals( 
obj : object 
) : boolean;
This language is not supported or no code example is available.

Parameters

obj
Type: object

The object to compare with the current object.

Return Value

Type: bool

true if the specified object is equal to the current object; otherwise, false.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1