Skip to content
Code4IT

Code4IT

Code4IT - Handcrafted articles for .NET enthusiasts, Azure lovers, and Backend developers

www.code4it.dev
Code4ITCode4IT
MARKETING ADVERTISING AND SALES
How to check if a string is really empty with C#
Is a string empty? What if it contains only white spaces? You shouldn鈥檛 reinvent the wheel, since .NET exposes methods exactly for these cases: String.IsNullOrEmpty and String.IsNullOrWhiteSpace.
Ian Nelson