Converting double slashes
C#
21
Posts
9
Posters
0
Views
1
Watching
-
Visual Studio shows escapes in the C# debugger watch window and tooltips. I think that's a stupid idea, but there you are: that's what it does. If you output the string to the console (Console.WriteLine) you will see that the backslashes are not doubled. If you're having trouble attaching the database, please ask on the other forum (including all error messages) - this is not the problem.
Stability. What an interesting concept. -- Chris Maunder
Never, never apply Console.WriteLine on a suspicious variable. You might find the cause of a problem...
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }