what does @ do in c# ?
when you want to address an external address the ( \ ) might cause you Errors to prevent or resolve that you can use ( @ ) which means -AT- , it tells the app this is a path for example :
1.wrong , might give you an Error : process.start("c\:windows\user\you");
2. Right : process.start(@"c\:windows\user\you");
1.wrong , might give you an Error : process.start("c\:windows\user\you");
2. Right : process.start(@"c\:windows\user\you");
Comments
Post a Comment