I mean, I want to convert this:
string a = 24; Convert.ChangeType(a, typeof(decimal?))
But that gives me an error.
UPDATE 1:
I have an object of type that can be decimal ?, int?, .. many types with null value. Then, with the Type object, I need to convert the string value to a type object.
source share