String Escape: quote : String Escape « String « C# / CSharp Tutorial






using System;

class MainClass
{
  static void Main(string[] args)
  {
    string MyString = " \"Question\" ";
    
    Console.WriteLine(MyString);
  }
}
"Question"








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