Lire en anglais Modifier

Partager via


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.

C#
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 et autres versions
Produit Versions
.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.

C#
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 et autres versions
Produit Versions
.NET 5, 6, 7, 8, 9