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