double quote in string code example Example: how to put double quotes in a string c# string str = "\"How to add doublequotes\"";