|
by jokiz via jokiz : C# on 9/30/2005 11:57:00 AM
The @ (at) sign in .NET is used for verbatim strings. When you're tired of dealing with escape characters particularly for filenames, you make use of it:
[code language="C#"]string filename = @"C:\joeycalisay\projects\" as compared tostring filename = "C:\\joeycalisay\\projects\\"[/code]
Do you know about it's another use as an escape character for C# keywords so you can use it in your codes as variables? Imagine a .NET assembly built in COBOL.NET with an Int32 public variable named
... [ read more ]
|