Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String Question
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
01427902
Message ID:
01427909
Views:
77
>What is the difference between:
>
>
>string s1 = "";
>
>
>and
>
>
>string s2 = string.Empty;
>
There's some good writeups here:
http://blog.dmbcllc.com/2009/04/20/c-better-than-stringempty/
http://blogs.msdn.com/brada/archive/2003/04/22/49997.aspx
http://blogs.msdn.com/ericlippert/archive/2009/09/28/string-interning-and-string-empty.aspx
http://dotnetperls.com/string-empty
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform