What is the best way for checking empty strings (I\'m not asking about initializing!) in C# when considering code performance?(see code bel
You can use Length as well
string input = ""; if (input != null) { if (input.Length == 0) { } }