Half.Equals Method

Definition

Overloads

Equals(Half)

Compares this instance for equality with other.

Equals(Object)

Returns a value that indicates whether this instance is equal to the specified obj.

Equals(Half)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Compares this instance for equality with other.

public:
 virtual bool Equals(Half other);
public bool Equals (Half other);
override this.Equals : Half -> bool
Public Function Equals (other As Half) As Boolean

Parameters

other
Half

A half-precision floating point number to compare to this instance.

Returns

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

Implements

Applies to

.NET 9 i inne wersje
Produkt Wersje
.NET 5, 6, 7, 8, 9

Equals(Object)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

Returns a value that indicates whether this instance is equal to the specified obj.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

The object to compare to this instance.

Returns

true if obj is an instance of Half and equals the value of this instance; otherwise, false.

Applies to

.NET 9 i inne wersje
Produkt Wersje
.NET 5, 6, 7, 8, 9