I am trying to create in C# an alphanumeric counter that creates numbers in the following way:
0001 0002 0003 ... 9999 A000 A001 ... A999 B000 ...
The last number would be ZZZZ. So it would 0-9 first, then A-Z after that.
I am lost on how this can be done.
Edit: Updated to answer the clarified question.
The following code will generate the counter you describe:
0000, 0001… 9999, A000… A999, B000… Z999, ZA00… ZA99, ZB00… ZZ99, ZZA0… ZZZ9, ZZZA… ZZZZ