Single.Inequality Operator

May 11, 2014

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

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

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

Parameters

left
Type: System.Single
The first value to compare.
right
Type: System.Single
The second value to compare.

Return Value

Type: System.Boolean
true if left and right are not equal; otherwise, false.

The Inequality method defines the inequality operator for Single values.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2014 Microsoft