AmaroK86.ImageFormat.ImageSize.operator C# (CSharp) Метод

operator() публичный статический Метод

public static operator ( ) : bool
Результат bool
        public static bool operator ==(ImageSize a, ImageSize b)
        {
            // If both are null, or both are same instance, return true.
            if (System.Object.ReferenceEquals(a, b))
            {
                return true;
            }

            // If one is null, but not both, return false.
            if (((object)a == null) || ((object)b == null))
            {
                return false;
            }

            // Return true if the fields match:
            return a.width == b.width && a.height == b.height;
        }

Same methods

ImageSize::operator ( ) : ImageSize