How can I add double quotes to a string that is inside a variable?

I have variable like:

string title = string.empty;

My need is that whatever string is passed to it I have to display the content inside a div with in a double quotes. So I have written something like:

...
...
<div>"+ title +@"</div>
...
...

But how can I add the double quotes here? So that it will display like:

"How to add double quotes"

19 Answers
19

Leave a Comment