How to include quotes in a string

Viewed 301172

I have a string "I want to learn "c#"". How can I include the quotes before and after c#?

7 Answers

You can also declare a constant and use it each time. neat and avoids confusion:

const string myStrQuote = "\"";
Related