I was wondering if anyone knows how the C# compiler handles the following assignment:
int? myInt = null;
My assumption is that there is an
I would expect .HasValue is set to false and .Value is set to default(T), but I haven't checked that.
.HasValue
false
.Value