public override bool Equals(object obj) { if (obj.GetType() != typeof(OutputPixel)) return false; return (OutputPixel)obj == this; }