Why GetType returns System.Int32 instead of Nullable<Int32>?

Viewed 7465

Why is the output of this snippet System.Int32 instead of Nullable<Int32>?

int? x = 5;
Console.WriteLine(x.GetType());
4 Answers
Related