> I am trying to explicitly cast something "dynamically".

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
I wanted to use Convert.ChangeType() actually, I just didn't know it
at the time I posted the question. :)
Thanks.
>> I am trying to explicitly cast something "dynamically".
>
>Casts are present to give the *compiler* more information. In other
>words, doing them dynamically at execution time bypasses most of the
>point. Now, what are you actually trying to do?
Mythran - 05 Dec 2007 16:42 GMT
> I wanted to use Convert.ChangeType() actually, I just didn't know it
> at the time I posted the question. :)
[quoted text clipped - 6 lines]
>>words, doing them dynamically at execution time bypasses most of the
>>point. Now, what are you actually trying to do?
Did ya notice that you are trying to cast an object....to another
type....and then reference it from an object?!? Why perform the cast at
all?
Mythran