[Mono-dev] ChangeType for Nullable

tut trofimich at ukr.net
Wed May 24 11:48:05 EDT 2006


Hi!
What do you think about working of Convert.ChangeType with nullable types?

I found that next code does not work with Nullable Types in .NET 2.0:

int? number;
number = Convert.ChangeType("0", typeof(number))

Seems it is Microsoft's bug. What mono developers think about this? How does
mono should run this code?
--
View this message in context: http://www.nabble.com/ChangeType+for+Nullable-t1675856.html#a4543806
Sent from the Mono - Dev forum at Nabble.com.




More information about the Mono-devel-list mailing list