Is there an easy way to create a multiline string literal in C#? 有沒有一種簡單的方法能夠在C#中建立多行字符串文字? spa
Here's what I have now: 這是我如今所擁有的: .net
string query = "SELECT foo, bar" + " FROM table" + " WHERE id = 42";
I know PHP has 我知道PHP有 code
<<<BLOCK BLOCK;
Does C# have something similar? C#是否有相似的東西? 字符串