Windows Dev Center

Version.Equality Operator

Determines whether two specified Version objects are equal.

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

public static bool operator ==(
	Version v1,
	Version v2
)

Parameters

v1
Type: System.Version
The first Version object.
v2
Type: System.Version
The second Version object.

Return Value

Type: System.Boolean
true if v1 equals v2; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft