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