[Serializable] public class ApplicationVersion : IEquatable, IComparable { #region Fields private string applicationName; private int build; private int major; private int minor; #endregion Fields #region Properties /// /// The name of the application /// public string ApplicationName { get { return this.applicationName; } set { this.applicationName = value; } } /// /// The build version /// public int Build { get { return this.build; } set { this.build = value; } } /// /// The major version /// public int Major { get { return this.major; } set { this.major = value; } } /// /// The minor version /// public int Minor { get { return this.minor; } set { this.minor = value; } } #endregion Properties #region Constructors public ApplicationVersion() { } /// /// /// /// /// /// public ApplicationVersion(string applicationName, int major, int minor, int build) { this.applicationName = applicationName; this.major = major; this.minor = minor; this.build = build; } #endregion Constructors }