Skip to content

ToString() on empty StringBuilder #1665

@TobiasKnauss

Description

@TobiasKnauss

What is returned by ToString() if no text was added to the StringBuilder, meaning if no Append*() or Insert() had been called? Will it return null or ""?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions