Пример #1
0
        public override double ReadDouble()
        {
            var a = _first.ReadDouble();
            var b = _second.ReadDouble();

            if (a != b)
            {
                throw new InvalidOperationException();
            }
            return(a);
        }