Meziantou's blog

Deep dives and practical tips about .NET, C#, and developer tooling

  • Home
  • Books
  • Projects
  • Talks
  • Archives
  • About
  • Resume
  • 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)

My Books

  • MSBuild In Depth
  • Roslyn In Depth
  • React from Zero

Recent posts

  • Finding a memory leak in a .NET dump with an AI agent
  • Diagnosing thread pool starvation from a .NET dump with an AI agent
  • Finding an async deadlock caused by a SynchronizationContext with an AI agent
  • Finding a deadlock in a .NET dump with an AI agent
  • Analyzing a .NET crash dump with an AI agent

Links

  • .NET resources
  • Online tools
Copyright © 2026 Gérald Barré - Use of this site constitutes acceptance of our Terms of use and Privacy policy.