- #1
rollcast
- 408
- 0
Whats the easiest way to take an integer in C# and convert it into an array of length equal to the number of digits and each element is a digit from the integer?
EG. If I had the integer 12345 I want to convert it to an array like so {1, 2, 3, 4, 5}
Thanks
AL
EG. If I had the integer 12345 I want to convert it to an array like so {1, 2, 3, 4, 5}
Thanks
AL