I mean, I want to convert this:
string a = 24;
Convert.ChangeType(a, typeof(decimal?))
But it throws me an error.
UPDATE 1:
I've got a Type object where can be decimal?, int?, .. many nullable types. Then with the Type object, I need to convert the string value in type object.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…