Skip to content

blog/csharp-check-if-string-is-empty #13

@utterances-bot

Description

@utterances-bot

How to check if a string is really empty with C# - Code4IT

Is a string empty? What if it contains only white spaces? You shouldn't reinvent the wheel, since .NET exposes methods exactly for these cases: String.IsNullOrEmpty and String.IsNullOrWhiteSpace.

https://www.code4it.dev/blog/csharp-check-if-string-is-empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions