Link to home
Start Free TrialLog in
Avatar of sean-keys
sean-keys

asked on

Unrecognized escape sequence

Why doesnt this code work ?

string strDHLURL = "HTTPS:\\eCommerce.airborne.com";

I get this error "Unrecognized escape sequence"


Thanks,
Sean
ASKER CERTIFIED SOLUTION
Avatar of jong3
jong3

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sean-keys
sean-keys

ASKER

Do both options do the exact same thing?  I'm new to c#.

Yes.  The @ simply tells the compiler to ignore any escape characters