Click or drag to resize
SemanticVersionCompareTo Method (SemanticVersion)
Compares two SemanticVersions. Implements IComparable<SemanticVersion>.CompareTo.

Namespace: semver.tools
Assembly: semver.tools (in semver.tools.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public int CompareTo(
	SemanticVersion other
)

Parameters

other
Type: semver.toolsSemanticVersion
Another SemanticVersion to compare against "this" SemanticVersion.

Return Value

Type: Int32
less than 0: This instance precedes obj in the sort order. equals 0: Both instances are equal. greater than 0: The other instance precedes obj in the sort order.

Implements

IComparableTCompareTo(T)
See Also