/// <summary> /// Compares two versions of the Version Number /// </summary> /// <param name="v">Version Number to compare</param> /// <returns>Relative order of objects being compared</returns> public int CompareTo(VersionNumber v) { return((int)((long)this.CompositeVersion - (long)v.CompositeVersion)); }
/// <summary> /// Compares two versions of the Version Number /// </summary> /// <param name="v">Version Number to compare</param> /// <returns>Relative order of objects being compared</returns> public int CompareTo(VersionNumber v) { return (int) ((long) this.CompositeVersion - (long) v.CompositeVersion); }