// or // string.IsNullOrEmpty(person.Description) if (person.Description is null or { Length: 0 }) { Console.WriteLine($"{nameof(person.Description)} is IsNullOrEmpty"); }
// and // !string.IsNullOrEmpty(person.Name) if (person.Name is not null and { Length: > 0 }) { if (person.Name[0] is (>= 'a' and <= 'z') or (>= 'A' and <= 'Z') or '.') {