Make changes to string : String Escape « String « C# / CSharp Tutorial






using System;
using System.Text;

class StringApp {
    static void Main(string[] args) {
        System.String strFixed = "This is how I began life";
        Console.WriteLine(strFixed);
        string upperVersion = strFixed.ToUpper();
        Console.WriteLine(strFixed);
        Console.WriteLine("{0}\n\n", upperVersion);
    }
}








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