Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 600 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 600 Bytes

Build status

A semantic version library for .Net

This class library implements the SemVersion class, that complies to v2.0.0 of the spec from http://semver.org.

Installation

With the nuget console:

 Install-Package semver

Parsing

 var version = SemVersion.Parse("1.1.0-rc.1+nightly.2345");

Comparing

 if(version >= "1.0")
     Console.WriteLine("released version {0}!", version)