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

后端 未结 10 1046
情深已故
情深已故 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:29

    You could generate numbers using Enumerable.Range and cast them to char to generate A-Z. Next step is to combine them.

提交回复
热议问题