討論串[問題] ArrayList 和 Struct
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者horngsh (foreman)時間19年前 (2006/04/30 19:44), 編輯資訊
0
0
0
內容預覽:
在.Net 1.1時代, 就只宣告一個ArrayList即可, 用ADD方法加入元素時,. 則不管元素原來的型別為何, 通通一律當做System.Object型別(隱式Boxing),. 待我們要從ArrayList中取出元素時, 再用強制型別轉換回來原來的型別(明式. unboxing)。. 到了
(還有48個字)

推噓2(2推 0噓 0→)留言2則,0人參與, 最新作者eyes222 (不想開學哩!)時間19年前 (2006/04/29 10:49), 編輯資訊
0
0
0
內容預覽:
請問 ArrayList 和 struct 要怎麼一起使用@@?. ex 我有一個名稱為 cust 的 struct. 裡面存放了 姓名 性別 生日...等:. struct cust. {. public string name;. public DateTime birth;. public s
首頁
上一頁
1
下一頁
尾頁