Answers for "test if parameter supports null reflection"

0

test if parameter supports null reflection

bool canBeNull = !type.IsValueType || (Nullable.GetUnderlyingType(type) != null);
Posted by: Guest on June-24-2020

Code answers related to "test if parameter supports null reflection"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language