Alex -- Didn't know that! A little research turned up:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/csref/html/vclrfString.asp
But this leads me to a problem. I have a barcode object with which I need
to encrypt a binary string. So I constructed an escaped string that is
supposed to look like this:
"\x1B\x00\x34\x89....";
I created this from a non-escaped binary representation using this function:
private string HexStringToEscapedHexString(string HexString)
{
StringBuilder EscapedString = new StringBuilder(1000,5096);
for (int counter = 0; counter < HexString.Length/2; counter++)
EscapedString.Append("\\x" + HexString.Substring(counter*2,2));
return EscapedString.ToString();
}
Somehow, when this product string appears in the debugger as it's being
loaded into the barcode object, it has the @ in front of it.
Can I get rid of the @? The barcode is literally interpreting the \x
characters in the current situation -- which is something I don't want.
TIA
Harry