Convert.ChangeType for Nullable types
1 min read
Convert.ChangeType doesn’t support nullable types. Peter Johnson has a post which shows how to test and cast from object to Nullable types. The can obviously be extended with generics.
Share:
Convert.ChangeType doesn’t support nullable types. Peter Johnson has a post which shows how to test and cast from object to Nullable types. The can obviously be extended with generics.