I have this value 10732
I converted this value to ´hexadecimal` like this:
string hex = string.Join(string.Empty, "10732".Select(c => ((int)c).ToString("X")));
And I got as result: 3130373332
But, using the Calculator of W7 in "programmer" mode. When I convert 10732
from DECIMAL to HEX,
I got 29EC
as result. Why ? How may I do this using C#?