Friday 23 October 2020

Eliminating the Need For Escape Sequences with @

Prefixing a string with @ in .NET resolves the need for using backslash to denote an escape sequence. In other words it says: "interpret the string literally".

If you need to include speech marks in the @-prefixed string you can use double speech marks.

No comments: