I have read on MSDN that:
The null keyword is a literal that represents a null reference, one that does not refer to any object.
But I've seen the following code running without throwing any exception:
int? i = null;
var s = i.ToString();
So if the variable i
is null, why can I execute it's method?