What is the best way for checking empty strings (I\'m not asking about initializing!) in C# when considering code performance?(see code bel
I think the best way is if(string.IsNullOrEmpty(a)) because it's faster and safer than the other methods.
if(string.IsNullOrEmpty(a))