I refuse to answer this question for two reasons
First, not all methods do the same thing
string str = "1";
int i = Convert.ToInt32(str ); //this will work
int i = (int) str //this won't work
so you aren't comparing apples to apples
secondly, any difference would be so absolutely minor and any major
differences would be so specific to a given situation, no one could
accurately answer save the person asking...
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"yurps" <yu***@yahoo.co.uk> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
which is the fastest or best out of these
Convert.ToInt32();
(int)x;
int.Parse(x);
Thanks,
yurps