TextBox 中换行符为: "\r\n"。
Windows 中的换行符(即:Environment.NewLine) 为 "\r\n"
MessageBox.Show() 的换行符为 "\n"
Console 的换行符为 "\n"
TextBox 中换行符为: "\r\n"。
Windows 中的换行符(即:Environment.NewLine) 为 "\r\n"
MessageBox.Show() 的换行符为 "\n"
Console 的换行符为 "\n"
4241
740
127

被折叠的 条评论
为什么被折叠?