nullable

  1. A

    Answered How to return a nullable type object?

    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...
Back
Top Bottom