Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Dec 20, 2012, 4:38 AM EST
Sivaraman DhamodaranRank #40 · 34.5K reputationPosted Dec 20, 2012, 2:35 AM EST
You can choose whatever is more readable to you
arjun44 reputationPosted Dec 20, 2012, 2:48 AM EST
string.empty not holds any thing...string="" is having one undisplayed charecter 'space' \0.
string.empty is best way...its reduce memory and garbage.
Sandeep Mhatre16 reputationPosted Jun 24, 2013, 3:57 AM EDT
http://sandeepmhatre.blogspot.com/2013/03/difference-between-stringempty-string.html
new linkFollow me on :
http://sandeepmhatre.blogspot.in
pranay sagarRank #6,081 · 277 reputationPosted Jul 15, 2015, 10:40 PM EDT