C# strings on multiple lines code example Example: c# multiline string example string query = @"SELECT foo, bar FROM table WHERE id = 42";