Check out example codes for "C# int to hex". It will help you in understanding the concepts better.
Code Example 1
int num = 123; //X can be capital and not capital it specifies if the hex characters should be upper or lowercase //the number specifies the amount of hex characters //2X will give you something like A5 string hex = num.ToString("X2");
Learn ReactJs, React Native from akashmittal.com