看板 C_Sharp 關於我們 聯絡資訊
請問 ArrayList 和 struct 要怎麼一起使用@@? ex 我有一個名稱為 cust 的 struct 裡面存放了 姓名 性別 生日...等: struct cust { public string name; public DateTime birth; public string sex; } 我該如何宣告一個具有cust結構的ArrayList? (考試的時候當在那裡了T___T) 謝謝喔^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 163.22.18.97
tomex:arrayList.Add(new cust()); 04/29 17:06
eyes222:不行耶QQ 04/30 11:10