Table of Contents

Class SemVer

Namespace
The.Utility
Assembly
Instagile.Model.dll
public static class SemVer
Inheritance
SemVer
Inherited Members

Methods

CompareVersions(string?, string?)

semver extended for the windows ecosystem, supports version formats 1.0.0, 1.0.0.0, 1.0.0-pre, 1.0.0.0-pre, 1.0.0-pre-etc

public static int CompareVersions(string? left, string? right)

Parameters

left string
right string

Returns

int

1 if left > right

Remarks

null is considered equivalent to version 0