
就是在 所有的 "{"之前 和 "}"之后 加回车和换行

程序如下
using System.IO;
private void button1_Click(object sender, EventArgs e)
{
//get path OpenFileDialog op = new OpenFileDialog();
op.RestoreDirectory= true;
op.Filter= "All|*.*|xlsx|*.xlsx";
if (op.ShowDialog() != DialogResult.OK)
return;
textBox1.Text= op.FileName;
}
private void button2_Click(object sender, EventArgs e)
{
string text = File.ReadAllText(textBox1.Text);
//text = text.Replace("{", "
{");
text= text.Replace("{", "
{");
text= text.Replace("}", "}
");
File.WriteAllText("test.txt", text);
} 
售后响应及时
7×24小时客服热线
数据备份
更安全、更高效、更稳定
价格公道精准
项目经理精准报价不弄虚作假
合作无风险
重合同讲信誉,无效全额退款