I saved few directory locations to a Dictionary<string, string>
,
e.g.
C:\\WINDOWS\\system32\\abc\\123
But the value that gets stored in the dictionary is C:\WINDOWS\system32\abc\123
So when I later compare a value against one in the dictionary it does a comparison like this:
C:\WINDOWS\system32\abc\123
to this
C:\\WINDOWS\\system32\\abc\\123
How can I retain backslashes when storing values in a Dictionary
?