Unfortunately Convert.ChangetType((long) x, typeof(Nullable<long>)); throw
an InvalidCastException.
So I wonder, how could I, from the type information such as
Type aType = typeof(Nullable<long>);
and an object
object obj = 42L;
convert the object obj to the type of aType?
"Lloyd Dupont" <net.galador@ld> wrote in message
news:eKG3%23sL7F...@TK2MSFTNGP12.phx.gbl...