Verbatim String

A string beginning with @ where backslashes are treated as ordinary characters.

What is Verbatim String in C#?

Verbatim String — A string beginning with @ where backslashes are treated as ordinary characters.

class FileLocation
{
    string path = @"C:\orders\today.txt";
}

Level: Apprentice · More C# terms at this level

Updated