Skip to content

Unit.Equals(Unit) method

Defined in

Type: Unit Namespace: System.Reactive Assembly: System.Reactive.dll

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

Overloads

  1. public bool Equals(Unit other)

  2. public override bool Equals(object? obj)

1. Overload

public bool Equals(Unit other)

Inherited documentation

These docs were inherited from IEquatable<Unit>. The member doesn't override them on this type.

Summary: Indicates whether the current object is equal to another object of the same type.

Parameters

NameTypeDescription
other[Unit](#An object to compare with this object.

Returns: bool -- true if the current object is equal to the other parameter; otherwise, false.

2. Overload

public override bool Equals(object? obj)

Inherited documentation

These docs were inherited from ValueType. The member doesn't override them on this type.

Summary: Indicates whether this instance and a specified object are equal.

Parameters

NameTypeDescription
objobject?The object to compare with the current instance.

Returns: bool -- true if obj and this instance are the same type and represent the same value; otherwise, false.