Declaring and Using Global Arrays c#

前端 未结 8 2111
星月不相逢
星月不相逢 2020-12-30 12:02

I couldn\'t find any information pertaining to this question. I am trying to create a global array in C# so that I can input information into it at different points in my co

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-30 12:25

    I think Dictionary will be more suitable... You can loop through it and access a specific item. And also pass it to your methods.

提交回复
热议问题