What is the difference between String.Empty and “” (empty string)?

后端 未结 17 1522
礼貌的吻别
礼貌的吻别 2020-11-22 03:25

In .NET, what is the difference between String.Empty and \"\", and are they interchangable, or is there some underlying reference or Localization i

17条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-22 04:25

    It just doesn't matter!

    Some past discussion of this:

    http://www.codinghorror.com/blog/archives/000185.html

    http://blogs.msdn.com/brada/archive/2003/04/22/49997.aspx

    http://blogs.msdn.com/brada/archive/2003/04/27/50014.aspx

提交回复
热议问题