Denis Koroskin wrote:
If you disallow null references what would "Object foo;" initialize to then?Nothing. It's a compile-time error.
Should: int a;be disallowed, too? If not (and explain why it should behave differently), what about:
T a; in generic code?