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