c# - Receiving CS1010 Newline in constant when creating a path to a file -


hello getting paths dynamically , trying concatenate path file getting email crawler.

for example c:\this\is\anyexample.txt <<< intended goal

getpath() returns string = c:\this\is

attachment returns string = anyexample.txt

in code doing , following

var path = getpath()+"\"+ attachment >>error>> cs1010 newline in constant

however need "\" in order complete c:\this\is\anyexample.txt

this achieved using "\\" when trying create path


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -