SortVersion.Equals Method (SortVersion)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns a value that indicates whether this SortVersion instance is equal to a specified SortVersion object.

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

public bool Equals(
	SortVersion other


Type: System.Globalization.SortVersion

The object to compare with this instance.

Return Value

Type: System.Boolean

true if other represents the same version as this instance; otherwise, false.

Two SortVersion objects are equal if their FullVersion and SortId properties are equal.

.NET Framework
Available since 4.5
Return to top