1、当做字符串输出情况 string.Format(@"标题:{0}\r\n", "CSDN博客"); 2、正确写法 string.Format(@"标题:{0}", "CSDN博客") + "\r\n";