[C#] C#中添加对象到ArrayList →→→→→进入此内容的聊天室

来自 , 2019-06-07, 写在 C#, 查看 108 次.
URL http://www.code666.cn/view/39d4b545
  1. ArrayList alcollect = new ArrayList();
  2. // Add individual items to the collection
  3. string str = "learn csharp";
  4. alcollect.Add(str);
  5. alcollect.Add("hello world");
  6. alcollect.Add(500);
  7. alcollect.Add(new object());
  8.  
  9.  
  10. //csharp/7609

回复 "C#中添加对象到ArrayList"

这儿你可以回复上面这条便签

captcha