string a = "\n"; // a的值为\n string b = "\\n"; // a的值为\\n
this.textbox.Text = "\n";
this.textbox.Text = "\\n"; //或者简化 this.textbox.Text = @"\n";
110,572
社区成员
642,565
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧