Error!
Success!

Dynamic type conversion in the nullable world

0
kicks

Dynamic type conversion in the nullable world  (Unpublished)

We all know the Convert.ChangeType() for changing a value from one (unknown) type to another (unknown) type at runtime, but this method doesn't handle nullables and enums very well. What may seem a simple task isn't that simple after all. You have to differentiate nullables, value types and enums.


Kicked By:
Drop Kicked By: