I want to add two hexadecimal numbers in hex mode and result should also be hexadecimal. But the problem is I have a string "20010000" and int 0x400050, how should I add those to receive 0x20410050 ?
Ive tried int.Parse with various hex options but it always results as decimal addition.
string foo = "20010000"; int bar = 0x400050;? If so, I think your question is just "How do I parse a string as a hexadecimal number?" Right?