String和string之间有什么区别? [英] What's the difference between String and string?
本文介绍了String和string之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在C#中,字符串和字符串有什么区别?
示例:
< pre lang =c#> string s = Hello ,世界;
字符串 S = 你好,世界;
每种方法的使用指南是什么?
解决方案
string
是System.String
的ac#别名。它们实际上是同一类型。
祝你好运!
查看更多解释..
http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-字符串 [ ^ ]
In C#, what is the difference between String and string?
Example:
string s = "Hello, World";
String S = "Hello, World";
What are the guidelines for the use of each?
解决方案
string
is a c# alias forSystem.String
. They are actually the same type.
Good luck!
See for more Explanation..
http://stackoverflow.com/questions/7074/whats-the-difference-between-string-and-string[^]
这篇关于String和string之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文