Compare the current
YVersion to
obj and returns the diference between them.
Namespace: Upsilon.Common.LibraryAssembly: Upsilon.Common.Library (in Upsilon.Common.Library.dll) Version: 2.2.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax public int CompareTo(
Object? obj
)
Parameters
- obj Object
- The first version to compare.
Return Value
Int32Returns 1 if the current YVersion is greater than obj,
-1 if the current YVersion is lower than obj,
0 if the current YVersion is equal to obj.
Implements
IComparableCompareTo(Object)Exceptions Exception | Condition |
---|
Exception | If obj is not a YVersion, an exception will be thrown. |
See Also