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