API

String.IsNullOrWhiteSpace

Checks missing, empty or whitespace-only configuration without revealing the value.

Formal Syntax & Structure

csharp syntaxcsharp
string.IsNullOrWhiteSpace(config["Catalog:Credential"])

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.string.IsNullOrWhiteSpace(config["Catalog:Credential"])
C# & .NET Reference