英語で読む 編集

次の方法で共有


Half.Equals Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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 10 およびその他のバージョン
製品 バージョン
.NET 5, 6, 7, 8, 9, 10

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 10 およびその他のバージョン
製品 バージョン
.NET 5, 6, 7, 8, 9, 10