0

I understand, from looking through previous questions on the topic, that Nullable<int> and int? get compiled to the same CIL. But it was pointed out that since Nullable needed the using System directive, it would make compilation as well as Intellisense slower if using int? made the using System directive unnecessary.

So my question is this:

Does the compiler (using C# 6.0 on .NET 4.6.1 on Visual Studio Professional 2015) work harder to produce CIL code when it interprets Nullable<int> vs int? ?

adyavanapalli
  • 490
  • 6
  • 17

0 Answers0