dotnet / dotnet/wpf

I can't give a newline expression to a line in C# and in a rich text box.

Open
#10,996 3 comments 0 reactions 0 assignees View on GitHub
:mailbox_with_no_mail: waiting-author-feedback
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/I-cant-give-a-newline-expression-to-a-l/10939593)._

---
[severity:It's more difficult to complete my work]
I can't give a newline expression to a line in C# and in a rich text box. richTextBox.Lines[0] = Environment.NewLine; I've tried the phrase many times, but there's no other way to spell it. I couldn't find a cure for him.

---
### Original Comments

#### Feedback Bot on 21/7/2025, 08:00 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.