SortVersion.Equality Operator (SortVersion, SortVersion)

.NET Framework (current version)

Indicates whether two SortVersion instances are equal.

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

public static bool operator ==(
	SortVersion left,
	SortVersion right


Type: System.Globalization.SortVersion

The first instance to compare.

Type: System.Globalization.SortVersion

The second instance to compare.

Return Value

Type: System.Boolean

true if the values of left and right are equal; otherwise, false.

Two SortVersion objects are equal if both are null, or if their FullVersion and SortId properties are equal.

.NET Framework
Available since 4.5
Return to top