开发者

Best practice for denoting empty string - C# [duplicate]

This question already has answers here: Closed 12 years ago.

Possible Duplicates:

In C#, should I use string.Empty or String.Empty or “” ?

What is the difference between String.Empty and “”

Should I use:

 - string.Empty
 - String.Empty
 - ""

wh开发者_如何学编程en I want to return an empty string from a method (or anywhere else for that matter)


String.Empty & string.Empty are exactly the same.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜