c# - Why are these two strings with linebreaks different? -


"[a='b\\\nc']" 

and

@"[a='b\ c']" 

does second add \r or something? there easy way escape can "see" line break characters?

nevermind. tried putting through regex.escape escapes bit more should, show \r.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -

c# - Binding attached property to IEnumerable -