Click or drag to resize

YVersionComparison Method

Compare two YVersion and returns the diference between them.

Namespace: Upsilon.Common.Library
Assembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public static int Comparison(
	YVersion version1,
	YVersion version2
)

Parameters

version1  YVersion
The first version to compare.
version2  YVersion
The second version to compare.

Return Value

Int32

Returns 1 if version1 is greater than version2,

-1 if version1 is lower than version2,

0 if version1 is equal to version2.

See Also