How do you Phil?
How do you Phil? Phil Collins
Search This Blog
Friday, December 10, 2010
Code Snippets C# - Strings
Sometimes you want to write a quote inside a string, but if you will write
" " "
it will not work, so the way to workaround it is writing
\"
.
Snippet:
String.Format("C:\\TestFiles\\\"{0}\"", fileName)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment