Why you should use IsNullOrWhiteSpace instead of IsNullOrEmpty in C#
Share

The key difference between string.IsNullOrEmpty and string.IsNullOrWhiteSpace is in what they check for:

 

 The key difference between string.IsNullOrEmpty and string.IsNullOrWhiteSpace is in what they check for:Continue reading on Medium » Read More Dotnet on Medium 

#dotnet

By