how to put quotes for nested html code example
Example 1: how to put double quotes in a string c#
string str = "\"How to add doublequotes\"";
Example 2: how to put quotes inside string c
char myString = "She said, \"You deserve a treat!\" ";
// put a \ before the quotes
//output would be : She said, "You deserve a treat!"