Why can't Nullable <int> compile but int? does without using a system;
In .Net 2 code:
namespace ns { class Class1 { Nullable<int> a; } } does not compile and does not give an error:
Cannot find the name of the type or namespace Nullable (are you missing the using directive or assembly references?)
Missing using System; but this code:
namespace ns { class Class1 { int? a; } } compiles.
Can someone explain why?
+4