Escape Sequence

noun

say it: “ih-SKAYP SEE-kwens” /ɪˈskeɪp ˈsiːkwəns/

A backslash code inside a string that stands for a special character, such as a new line or a quote mark.

What is Escape Sequence in C#?

Escape Sequence — A backslash code that represents a special character inside a string or character literal.

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

In a sentence

  • “I used the escape sequence for a new line to put the address on two lines.”

Level: Apprentice · More C# terms at this level

Updated

In other subjects