C# Convert Int To Two Hex Bytes?

Viewed 12157

I have an integer that I need to convert to a four digit hex value.

For example, lets say the int value is 16. What I am looking for is a way to go from 16 to 0x00 0x10.

Any suggestions would be greatly appreciated!!!

4 Answers
Related