How to embed quotes inside string in C# ?

If you want to embed quotes within a string in C# , you can use the escape sequence \ followed by the double quotes.

How to embed quotes inside string in C# ?

Below is a sample sourcecode demonstrating How to embed quotes inside string in C# .

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            string data = "\"How are you ?\" , AbundantCode";
            Console.WriteLine(data);
            Console.ReadKey();
        }
    }
}
How to embed quotes inside string in C# ?
How to embed quotes inside string in C# ?