public override int GetHashCode() { // stupid hash code int hash = 13; hash = (hash * 7) + btype.GetHashCode(); hash = (hash * 7) + dim.GetHashCode(); return(hash); }