By default, in string literals, the backslash is an escape character. So e.g. "\n" is a newline character. There are two common ways to put an actual backslash in a string. One is to escape it with another backslash. The other is to put an @ at the front of the string: @"\n" which makes it a "verbatim string" that turns off the escaping. That's what you want here.

See e.g. this document

[link:msdn.microsoft.com]

for the description of 'verbatim strings' in C# - the F# rules are the same.

By on 3/14/2010 11:54 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper