Mono Class Library: System.Version Overview | Members

System.Version Inequality Operator

Determines whether two instances of Version are not equal. [Edit]

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

Parameters

v1
An instance of the Version class. [Edit]
v2
An instance of the Version class. [Edit]

Returns

A bool where true indicates v1 and v2 have at least one unequal property; otherwise false. If v1 and v2 are both null, returns false; if one is null but not the other, returns true. [Edit]

Remarks

The parts of the version number are compared independently starting with the Version.Major property and then the Version.Minor, Version.Build, and Version.Revision properties, in order. This method returns as soon as one of the properties is determined not to be equal. [Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0