Meziantou's blog

Blog about Microsoft technologies (.NET, ASP.NET Core, Blazor, EF Core, WPF, TypeScript, etc.)

  • Home
  • Projects
  • Talks
  • Archives
  • About
  • Contact

String.IsNullOrWhiteSpace

 02/11/2011
 
  • GĂ©rald BarrĂ©
 
  • .NET

A new feature in the framework .NET 4.0: String.IsNullOrWhiteSpace(string value). It comes in addition to the function String.IsNullOrEmpty(string value). I think there's no need to clarify what it does, the name is quite explicit.

Even in the base classes there are some new features 😃

Do you have a question or a suggestion about this post? Contact me!

Follow me:
Enjoy this blog?Buy Me A Coffee💖 Sponsor on GitHub
Photo of Gérald Barré

Gérald Barré

aka. meziantou

Microsoft Most Valuable Professional (MVP)

Recent posts

  • StringComparison.InvariantCulture is not always invariant
  • PowerShell Script to rename .NET projects
  • Remove empty folders using PowerShell
  • There is no self-closing tag in html
  • How to use a natural sort in PowerShell

Links

  • Dev Tool List
  • Dev News
  • Async/await resources
  • .NET Multithreading resources
  • Visual Studio tips
  • Online tools
  • free-for.dev
Copyright © 2025 Gérald Barré - Use of this site constitutes acceptance of our Terms of use and Privacy policy.