How to use \ in a string in C#
Posted
by Brigadier Jigar
on Stack Overflow
See other posts from Stack Overflow
or by Brigadier Jigar
Published on 2010-03-12T12:06:08Z
Indexed on
2010/03/12
12:07 UTC
Read the original article
Hit count: 173
c#
Hey all, I want to use \ in a string, like
string str="abc\xyz";
But this is giving me error.
I have also tried
string str="abc\\xyz";
But still it isnt working. Can anyone help me out?
© Stack Overflow or respective owner