Tutorial by Examples

Class: public class Version : IComparable<Version> { public int[] Parts { get; } public Version(string value) { if (value == null) throw new ArgumentNullException(); if (!Regex.IsMatch(value, @"^[0-9]+(\.[0-9]+)*$")) th...

Page 1 of 1