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