diff options
author | ksami <ksami.ihide@gmail.com> | 2017-10-23 17:41:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-23 17:41:57 +0800 |
commit | 3e072363d9b454973f116e39d4690ed73662f452 (patch) | |
tree | ea7ba62a09e3fa3ec2e09959266af590434d3693 /csharp.html.markdown | |
parent | b01b53a46dbb4d2a35c44ad2caff521f442b2741 (diff) |
missed out the @ symbol
Diffstat (limited to 'csharp.html.markdown')
-rw-r--r-- | csharp.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp.html.markdown b/csharp.html.markdown index bb8bf6e5..77737182 100644 --- a/csharp.html.markdown +++ b/csharp.html.markdown @@ -135,7 +135,7 @@ namespace Learning.CSharp // Verbatim String // You can use the @ symbol before a string literal to escape all characters in the string string path = "C:\\Users\\User\\Desktop"; - string verbatimPath = "C:\Users\User\Desktop"; + string verbatimPath = @"C:\Users\User\Desktop"; Console.WriteLine(path == verbatimPath); // => true // You can split a string over two lines with the @ symbol. To escape " use "" |