devxlogo

August 17, 2018

Escape Characters with the “@” Symbol in C#

Use the “@” symbol to prefix a string that has characters. You do not have to escape the characters in the string. For example, instead of: Var filePathString = “C:\mydocs\share\audit.docx”;