Friday, August 26, 2011

c#/csharp "@" at-sign


int new = 123;  // 'new' is a keyword 
int @new = 123; // no error 
 
string str1 = "photos\\aug";
string str2 = @"photos\aug";

No comments:

Post a Comment