public bool Equals(Storey other) { if (_type == EnumStorey.Number) { return(_number.Equals(other._number)); // && //_y.Equals(other._y); } else { return(_type.Equals(other._type)); } }