C# 7.3. I'm trying to have a method take a Type parameter and return its corresponding nullable. Like:
public static System.Type GetTypeNullable(System.Type t)
{
return System.Nullable<t>;
}
This shows the error: 't?' is a type, which is not valid in the given context.
That's precisely my...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.