Y
YoYo Pa
Why does C# require an escape character (or the @ symbol placed in front of
the string) when a string variable contains some *special characters* - as
in the sample code below. Other languages let you put anything you want into
a string without escaping. What's the deal with C#?
string strFilePath = strRootPath + "SubFolder1\\SubFolder1\\" +
strFileNameToUse;
Thanks
the string) when a string variable contains some *special characters* - as
in the sample code below. Other languages let you put anything you want into
a string without escaping. What's the deal with C#?
string strFilePath = strRootPath + "SubFolder1\\SubFolder1\\" +
strFileNameToUse;
Thanks