Escape characters. : String Escape « String « C# / CSharp Tutorial






using System;
using System.Text;

class StringApp {
    static void Main(string[] args) {
        string s3 = "Hello\tThere\tAgain";
        Console.WriteLine(s3);
        Console.WriteLine("Everyone loves \"Hello World\"");
        Console.WriteLine("C:\\MyApp\\bin\\debug");
        Console.WriteLine("All finished.\n\n\n");

    }
}








5.13.String Escape
5.13.1.String Literal Escape Characters
5.13.2.String escape: @ (AT sign)
5.13.3.String escape: \\
5.13.4.String Escape: quote
5.13.5.Escape characters.
5.13.6.Make changes to string
5.13.7.Displaying a Single Quote Using an Escape Sequence