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