Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Divers
Thread ID:
01427902
Message ID:
01427909
Vues:
75
>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"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform