Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# conversion on @ character
Message
From
01/11/2006 03:11:05
 
 
To
01/11/2006 03:01:28
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01166075
Message ID:
01166077
Views:
9
>This is a C# line:
>
>
>GetFreeSpace(@"\\\\myserverName\\d$");
>
>
>No converter on the net seems to be able to convert that line. What does the @ stands for anyway?

From http://forums.devx.com/showthread.php?t=146516 :

To continue a string literal over several lines use the "@" operator:

e.g.,
string ThisString = @"this string
literal spans several
lines and is stored exactly as you
see it here when using the '@' operator";
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform