Convert.ToInt32和Convert.ParseInt之间的区别 [英] Difference between Convert.ToInt32 and Convert.ParseInt

查看:124
本文介绍了Convert.ToInt32和Convert.ParseInt之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




如果您知道Convert.ToInt32和Convert.ParseInt plz之间的区别,请告诉我.


在此先感谢

Hi,


If u know the difference between Convert.ToInt32 and Convert.ParseInt plz tell me.


Thanks in advance

推荐答案

没什么.由于Convert.ParseInt不存在.


正如Prera​​k提到的Convert.ParseInt不存在.

如果您要说-"Int32.Parse与Convert.ToInt32之间的差异",那么请看下面的链接.

http://social.msdn.microsoft.com/Forums/zh/netfxbcl/thread/0c2abe12-f530-47ed-b3e4-defe409d2fb5

http://stackoverflow.com/questions/199470/int解析和转换toint32之间的主要区别是什么
As Prerak mentioned Convert.ParseInt doesn''t exist.

If you meant to say - "difference between Int32.Parse and Convert.ToInt32", Then have a look at below links.

http://social.msdn.microsoft.com/Forums/en/netfxbcl/thread/0c2abe12-f530-47ed-b3e4-defe409d2fb5

http://stackoverflow.com/questions/199470/whats-the-main-difference-between-int-parse-and-convert-toint32


这篇关于Convert.ToInt32和Convert.ParseInt之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆