My main focus for this blog is .NET which really isn't apparent when you look at the posts so I thought I'd add an entry about a nifty little language trick I picked up reading blogs last week :)
The @ is a really neat symbol which you use for making C# interpret a string literally. You probably written double \ more than once in a file path. Well with the @ symbol you don't have to do this simply write:
Most C# developers know this but did you know that you can also do this:
string s = @"Line 1Line2Line4";
The text will appear just as you wrote it. Pretty neat :)
The opinions expressed herein are my own personal opinions and do not represent
my employer's view in any way.