C# objects in arrayLists

后端 未结 4 768
北海茫月
北海茫月 2020-12-29 16:02

I\'m working with ArrayList in C# and I am wondering how I can add objects to an ArrayList and then retrieve the values from it?

In short,

4条回答
  •  执念已碎
    2020-12-29 16:36

    you can do it the same as if u work on a list or a collection (do try use .add method).

    also, you can read this msdn link

提交回复
热议问题