1
可能重複:
In C#, should I use string.Empty or String.Empty or 「」 ?
What is the difference between String.Empty and 「」最佳實踐 - C#
我應該使用:
- string.Empty
- String.Empty
- ""
,當我想返回一個空來自方法的字符串(或其他地方的字符串)問題)
可能重複:
In C#, should I use string.Empty or String.Empty or 「」 ?
What is the difference between String.Empty and 「」最佳實踐 - C#
我應該使用:
- string.Empty
- String.Empty
- ""
,當我想返回一個空來自方法的字符串(或其他地方的字符串)問題)
String.Empty & string.Empty完全一樣。
Dupliacte http://stackoverflow.com/questions/151472/what-is-the-difference-between-string-empty-and – johnc 2010-01-28 00:26:19