Skip to content

ObjectAssertions<T>.Equals Method

Definition

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

public sealed override bool Equals(object? other);

Parameters

Name Type Description
other Object

Returns

Boolean

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