Everytime it sees \, the string tries to escape the next character. You can either do "\\." which will be intrepreted as "\." or you can do @"\." which will be intrepreted as "\.", I believe.
I haven't got my IDE right in front of me, but I believe that I am correct.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.