The following examples will not compile:
string s = "\c"; char c = '\c';
Instead, they will produce the error Unrecognized escape sequence at compile time.
Unrecognized escape sequence