AFAIK @ for strings only applies to string literals:
string stringOne = "Hello\tWorld";
string stringTwo = @"Hello\tWorld";
if(@stringOne == stringTwo) {
// This will never execute, since stringOne has a tab character where
stringTwo has a literal "\t" in it.
}
The other main use of @ is to allow you to use keywords as names in your
application:
int public = 0; // Compile error
int @public = 0; // No compile error
"Dakkar" <da****@sylveria.gen-dot-tr.no-spam.invalid> wrote in message
news:42********@127.0.0.1...
I have an illegal character error so i used @ escape character but it
doesnt work how can i make this work possible
String dir =
myproc[i].MainModule.FileName.ToString();
FileVersionInfo info =
FileVersionInfo.GetVersionInfo(@dir);
Thanks
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com