Tip 3 : Double Quotation Marks in String: Using C# Escape Sequence

You have the following sentence that has double quotation marks:

<?mso-application progid="Excel.Sheet"?>

To assign the above sentence to a string variable, you will need to use a C# escape sequence \":

string myString = "<?mso-application progid=\"Excel.Sheet\"?>";

 

1 Comment

Comments have been disabled for this content.