Single.Inequality(Single, Single) Operator

Definition

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

public:
 static bool operator !=(float left, float right);
public static bool operator != (float left, float right);
static member op_Inequality : single * single -> bool
Public Shared Operator != (left As Single, right As Single) As Boolean

Parameters

left
Single

The first value to compare.

right
Single

The second value to compare.

Returns

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

Remarks

The Inequality method defines the inequality operator for Single values.

Applies to