in c#, how can i build up array from A to ZZ that is similar to the way that excel orders columns

后端 未结 10 1045
情深已故
情深已故 2020-12-18 00:48

i am looking for code that can generate an array where the first item is A, then B, then C . . .after Z i

10条回答
  •  醉酒成梦
    2020-12-18 01:20

    Have a look at an ASCII table and take note of the values of the characters. You should be able to work out a loop to increment the character from A to Z for as many times as you need to replicate the characters. :)

提交回复
热议问题