String和string有什么区别? [英] What is the difference between String and string?

查看:150
本文介绍了String和string有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

String和string有什么区别?

What is the difference between String and string?

推荐答案





请参考内置类型表(C#参考)



http://msdn.microsoft.com/en-us/library/ya5y69ds.aspx [ ^ ]



快乐编码,

Stephan
Hi,

please refer to "Built-In Types Table (C# Reference)"

http://msdn.microsoft.com/en-us/library/ya5y69ds.aspx[^]

Happy coding,
Stephan


string是System.String的别名。从技术上讲,没有区别。这就像int与System.Int32。



更多信息..

参见 http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string [ ^ ]
string is an alias for System.String. So technically, there is no difference. It's like int vs. System.Int32.

For More information..
See http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string[^]


C# string 只是 CLI String 数据类型。


这篇关于String和string有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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