Example #1
0
        public bool Equals(OsVersion other)
        {
            if (this.MajorVersion != other.MajorVersion)
            {
                return(false);
            }

            if (this.MinorVersion != other.MinorVersion)
            {
                return(false);
            }

            if (this.RevisionNumber != other.RevisionNumber)
            {
                return(false);
            }

            return(true);
        }
Example #2
0
        public bool Equals(OsVersion other)
        {
            if (this.MajorVersion != other.MajorVersion)
            {
                return false;
            }

            if (this.MinorVersion != other.MinorVersion)
            {
                return false;
            }

            if (this.RevisionNumber != other.RevisionNumber)
            {
                return false;
            }

            return true;
        }