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

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -