Tag: queries

  • C#: Use verbatim strings for SQL queries

    Using verbatim strings for SQL queries can make your code much more readable. For example, which one of the following queries is easier to read? This one? or this one? The SQL engine doesn’t care for the whitespace you introduce in queries with verbatim strings. So do your fellow programmers a favor and use them…