C# 在Class中使用ArrayList
class Person{
public string name;
public ArrarList phoneNumber;
public Person()
{
this.phoneNumber = new ArrayList();//欄位初始化
}
}Reference: http://social.msdn.microsoft.com/forums/zh-TW/233/thread/cbcaf32f-3d14-46bb-b41d-e3c80d8afb6d
頁:
[1]