How to embed Quotes in a String in C# ?

You can embed Quotes within a string in C# by using the escape sequence character . Just prefix the quotes with a back slash (\).

How to embed Quotes in a String in C# ?

Below is a sample sourcecode demonstrating How to embed Quotes in a String in C# ?

using System;
namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {

            string inputString = "Welcome to Abundant Code - \" Abundant Code Admin\"";
            Console.WriteLine("The uppercase string is " + inputString);
            Console.Read();      
        }
    }
}