0

Is there a simple algorithm where by I can convert a numeric value to alphanumeric and reliably convert it back to the same number?

For example, 12345 converts to 00A3DF and back to 12345.

Hadi
  • 34,224
  • 11
  • 61
  • 121
jbagavathi
  • 307
  • 2
  • 6
  • 15

1 Answers1

2

I assume when you say alphanumeric you mean hexadecimal. This has already been answered:

How to convert numbers between hexadecimal and decimal in C#? C# convert integer to hex and back again

Community
  • 1
  • 1
Ron Warholic
  • 9,894
  • 29
  • 47