c# declare multiline string code example Example: c# multiline string example string query = @"SELECT foo, bar FROM table WHERE id = 42";