AzureFeeds - All your Azure feeds in one place.

Thursday, August 11, 2005

Double-quotes inside a verbatim string literal

by Gus Perez via aWorkBlogByGus on 8/11/2005 6:58:00 AM

This one came up today in an internal discussion alias and reminded me of how many times I've seen people get stumped on this one and end up working around it. A lot of users have used verbatim string literals as they ease writing multi-line strings literals or for specifying paths and not having to escape the backslashes (as Andrew pointed out in the comments for this post). Here's an example: string s = @"First line             ...

[ read more ]

Legal Note

The content of the postings is owned by the respective author. AzureFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on AzureFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us