Hi,
They are two different concepts, the first is a cast , for this to work the
casted type should be convertible to int , no all of the types are.
The second are a series of method with different signatures, each overloaded
version perform the needed conversion.
IMO a cast should be faster than calling Convert.XXX but I cannot garantee
it, it does depend of the typed being converted.
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"charliewest" <ch*********@discussions.microsoft.com> wrote in message
news:B3**********************************@microsof t.com...
Is there any advantage, or a recommended preference, between using (int)
or
Convert.ToInt32() to convert numeric types to System.Integer32 ?
Thanks,