ArrayList动态数组System.Collections命名空间下 using System.Collections; namespace myspace { class myclass { ArrayList myList=new ArrayList(); } }