.net - Can we type strings with use of hex codes in c# like we type integers like that int a = 0x0000cd54;? -


i think kind of unusual thing ask, need this. well, know can this:

string str = "45 ac 1b 5c"; 

and convert meaningful, if don't want bother conversion , want set string somehow that: "0x00000045 0x000000ac 0x0000001b 0x0000005c" , automatically becomes common characters?

is there way?

string str = "\x45 \xac \x1b \5c" 

http://msdn.microsoft.com/en-us/library/aa691090%28v=vs.71%29.aspx


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -