Skip to content

Glossary: C# Basics

StringComparison.OrdinalIgnoreCase

Also written: string.Equals, string.IsNullOrWhiteSpace

Used with `string.Equals` to compare text while ignoring capitals. `string.IsNullOrWhiteSpace` checks for empty or all-space text.

Where the book teaches it

Related terms

String