In C#, there are at least 4 ways to embed a quote within a string:
- Escape quote with a backslash
- Precede string with @ and use double quotes
- Use the corresponding ASCII character
- Use the Hexadecimal Unicode character
Please refer this document for detailed explanation.