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 introduced in .NET 4.0: String.IsNullOrWhiteSpace(string value). It complements the existing String.IsNullOrEmpty(string value). The name speaks for itself.

Even the base class library gets some nice additions 😃

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

  • URL Pattern Matching in .NET
  • Speed Up .NET CI with Test Sharding
  • Implementing RFC-compliant HTTP caching for HttpClient in .NET
  • Visualize GitHub Actions runs with Meziantou.GitHubActionsTracing
  • Creating case-sensitive folders on Windows using C#

Links

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