public bool Equals(Dir9 other) { // if Self is a class: // if (other is null) return false; return(mVec.Equals(other.mVec)); }
public bool Equals(Rect2Di other) { return(mPos.Equals(other.mPos) && mSize.Equals(other.mSize)); }