我知道这会起作用:
string multiline_text = @"this is a multiline text
this is line 1
this is line 2
this is line 3";
我怎样才能使以下工作:
string a1 = " line number one";
string a2 = " line number two";
string a3 = " line number three";
string multiline_text = @"this is a multiline text
this is " + a1 + "
this is " + a2 + "
this is " + a3 + ";
是否可以不将字符串拆分为多个子字符串,每行一个?