c# get double quote in string code example
Example 1: escape double quotes c#
string str = "He said to me, \"Hello World\". How are you?";
Example 2: how to put double quotes in a string c#
string str = "\"How to add doublequotes\"";
Example 3: c# escape quotes
var lyrics = @"""Alive"", she cried!"