D
Dom
Why can't I say the following;
Rectangle r = null;
The compiler tells me that null is a value type and can't be converted
to Rectangle. But I can't generally set any reference type to null.
For example, I can say:
MyClass c = null;
Rectangle r = null;
The compiler tells me that null is a value type and can't be converted
to Rectangle. But I can't generally set any reference type to null.
For example, I can say:
MyClass c = null;