Прочетете на английски Редактиране

Споделяне чрез


Single.Equality(Single, Single) Operator

Definition

Returns a value that indicates whether two specified Single values are equal.

public static bool operator ==(float left, float right);

Parameters

left
Single

The first value to compare.

right
Single

The second value to compare.

Returns

true if left and right are equal; otherwise, false.

Implements

Remarks

The Equality method defines the equality operator for Single values.

Applies to