difference between string.empty and string="" c#
difference between string.empty and string="" c#
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
pranay sagarPosted Jul 16, 2015, 2:40 AM
Sandeep MhatrePosted Jun 24, 2013, 7:57 AM
http://sandeepmhatre.blogspot.com/2013/03/difference-between-stringempty-string.html
new linkFollow me on :
http://sandeepmhatre.blogspot.in
VulpesPosted Dec 20, 2012, 9:38 AM
arjunPosted Dec 20, 2012, 7:48 AM
string.empty not holds any thing...string="" is having one undisplayed charecter 'space' \0.
string.empty is best way...its reduce memory and garbage.
Sivaraman DhamodaranPosted Dec 20, 2012, 7:35 AM
You can choose whatever is more readable to you