Which way is really the fastest way to check for an empty string and there is any specific case where need to any specific.
1. String.IsNullOrEmpty()
2. str == null
3. str == null || str == String.Empty
4. str == null || str == ""
5. str == null || str.length == 0
str == " ".stringis an empty string?stringis a reference type, its default value is null.