//----------------------------------------------------------------------------------------- public override bool Equals(object o) { if (o is Size3) { Size3 size = (Size3)o; return((this.Width == size.Width) && (this.Height == size.Height) && (this.Depth == size.Depth)); } return(false); }