How to check if a string is really empty with C# 2018-10-01 3 min read Blog Is a string empty? What if it contains only white spaces? You shouldn’t reinvent the wheel, since .NET exposes methods exactly for these cases: String.IsNullOrEmpty and String.IsNullOrWhiteSpace. Continue reading