Not. optional parameters must be compile-time constants, and new Rectangle(1,1,1,1) not a compile-time constant.
You can have two method overloads, one of which does not have a rectangle:
void Method(int i, int j = 1) { Method(i, j, new Rectangle(1,1,1,1)) }
Servy source share