© 2026 Hedgehog Software, LLC
class Foo<T> { T? _foo; Foo() { _foo = null; // Error here } }
Cannot convert null to type parameter 'T' because it could be a value type. Consider using 'default(T)' instead.
_foo
T?
T