私はこれがうまくいくことを知っています:
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 + ";
文字列を各行に 1 つずつ、いくつかの部分文字列に分割せずに可能ですか?