Inequality Operator

Double.Inequality Operator (Double, Double)

.NET Framework 4.6 and 4.5

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

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

public static bool operator !=(
	double left,
	double right


Type: System.Double

The first value to compare.

Type: System.Double

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 Double values.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft