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 bool Equals (Half other);

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 a další verze
Produkt Verze
.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 (object? obj);

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 a další verze
Produkt Verze
.NET 5, 6, 7, 8, 9