Example #1
0
        /// <summary>
        /// Two options are equal iff they have the exact same options.
        /// </summary>
        public bool Equals(Options <T> other)
        {
            if (other == null)
            {
                return(false);
            }

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

            return(OptionsCollection.SequenceEqual(other.OptionsCollection));
        }