.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
Post a Comment