textBox换行问题

来源:互联网 发布:json.parse出错 编辑:程序博客网 时间:2024/05/29 12:53

TextBox 中换行符为: "\r\n"。

 Windows 中的换行符(即:Environment.NewLine) 为 "\r\n"

MessageBox.Show() 的换行符为 "\n"

Console 的换行符为 "\n"

原创粉丝点击