Hi,
I know this isn't a C# group, but its just a quick one.
As a seasoned C++ developer I'm learning C# as I go along. What's the @
symbol for before a string?
eg:
FileInfo myFile = new FileInfo(@"c:\T emp\Test\readme .txt");
Why can't it just be:
FileInfo myFile = new FileInfo("c:\Te mp\Test\readme. txt"); ?
Thanks
David
I know this isn't a C# group, but its just a quick one.
As a seasoned C++ developer I'm learning C# as I go along. What's the @
symbol for before a string?
eg:
FileInfo myFile = new FileInfo(@"c:\T emp\Test\readme .txt");
Why can't it just be:
FileInfo myFile = new FileInfo("c:\Te mp\Test\readme. txt"); ?
Thanks
David
Comment