Link to home
Start Free TrialLog in
Avatar of dgdfgssfdgs
dgdfgssfdgs

asked on

escape charector in file path sroed in variable c#

When a store a file path in a variable, like "c:\pic\"
the variable stores "c:\\pic\\.

ok. seems like a poor choice of escape charector to me.

how do i get rid of the extra backslash when i go to use the variable?
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dgdfgssfdgs
dgdfgssfdgs

ASKER

duh. thanks.