Skip to content

Cycle.Equals Method ​

Overloads ​

NameDescription
Equals(Cycle)Indicates whether this Cycle is equal to another Cycle.
Equals(Object)Determines whether the specified object is equal to this Cycle.

Equals(Cycle) ​

Indicates whether this Cycle is equal to another Cycle.

c#
public new bool Equals(Cycle? other);

View source

Parameters ​

NameTypeDescription
otherCycleA Cycle to compare with this Cycle.

Returns ​

Boolean

true if this Cycle is equal to the other parameter; otherwise, false.

Equals(Object) ​

Determines whether the specified object is equal to this Cycle.

c#
public override bool Equals(object? obj);

View source

Parameters ​

NameTypeDescription
objObjectThe object to compare with this Cycle.

Returns ​

Boolean

true if this Cycle is equal to the obj parameter; otherwise, false.