Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What´s the purpose of @?
Message
From
04/05/2002 16:59:36
 
 
To
04/05/2002 16:32:24
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00652799
Message ID:
00652802
Views:
17
>what´s the purpose of "@"? I see that without it, the stuff didn´t work...

It takes the string directly as it is. If you didn't have it, you would be using escape characters whereever there is a "\". To get a real back slash in an unescaped string you'd use two:
string testPath = "c:\\csharptest\\myfile.txt";
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform