Skip to content

Cycle.Equals Method

Overloads

Name Description
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.

public new bool Equals(Cycle? other);

View source

Parameters

Name Type Description
other Cycle A 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.

public override bool Equals(object? obj);

View source

Parameters

Name Type Description
obj Object The object to compare with this Cycle.

Returns

Boolean

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