[]
Returns the underlying type of a nullable type: e.g. if Type = double?, then returns double.
public static Type GetNonNullableType(this Type type)
Type.
The underlying type.