how to store an input string with inverted commas as a proper string c# code example Example: how to put double quotes in a string c# string str = "\"How to add doublequotes\"";