public void GetObjectData(SerializationInfo info, StreamingContext ctxt) { info.AddValue("depth", _depth); info.AddValue("color", _color); } }