I think this is kind of unusual thing to ask, but I need this. Well, I know I can do this:
string str = "45 AC 1B 5C";
And then convert it into something meaningful, but what if I don't want to bother with conversion and want to set string somehow like that: "0x00000045 0x000000AC 0x0000001B 0x0000005C"
and then it automatically becomes common characters?
Is there any way?
string str = "\x45 \xac \x1b \5c"
http://msdn.microsoft.com/en-us/library/aa691090%28v=vs.71%29.aspx
User contributions licensed under CC BY-SA 3.0