❔ Generics and nullable types
This snippet below results in an error
I don't really understand the error. I thought the type of
Cannot convert null to type parameter 'T' because it could be a value type. Consider using 'default(T)' instead.
I don't really understand the error. I thought the type of
_foo was T?, not T.