IEquatable

Interface for those classes that need an equal method.

Description

The IEquatable interface is used by those classes that need an equal method.

Methods

Equals

Method used to compare two values. Returns true if these values are equal, and false otherwise.

Equals(value any) bool

  • value: any - value to compare
  • returns: bool - boolean result of the evaluation