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