Equality Operator
Collapse the table of content
Expand the table of content

Double.Equality Operator

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

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

Parameters

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

Return Value

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

The Equality method defines the equality operator for Double values.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2016 Microsoft