Increment a string from numbers 0-9 to lowercase a-z to uppercase A-Z in C#
问题 I want to be able to have a string 6 characters long starting with '000000'. Then I want to increment it by one '000001' when I hit 9 I want to go to '00000a' when I get to z I want to go to '00000A'. When 'Z' is reached I want to reset the first to 0 and start with the next position '000010' So on and so forth. '000011','000012'...'0000a0','0000a1'...'0000A0','0000A1' How would I do this in C#? Thank you in advance. Mike 回答1: This uses the IntToString supporting arbitrary bases from the