System.Single.op_Inequality Method

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

Syntax

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

Parameters

left
The first value to compare.
right
The second value to compare.

Returns

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

Remarks

The float.op_Inequality(float, float) method defines the inequality operator for float values.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0