Could someone please explain how string interpolation is possible with null literals, like in the following example.
var output = "Hello" + null + " World"'
=> "Hello World"
My suspicion would be Operate Lifting, which appears to take default(string)
whilst interpolating. Or a potential implicit conversion from Nullable<string>
to string
that returns default(string)
in the case the input string is null.
Any assistance in helping my understanding would be much appreciated.