討論串[問題] ref跟指標
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 3→)留言5則,0人參與, 7年前最新作者erspicu (.)時間7年前 (2018/03/20 22:10), 7年前編輯資訊
0
0
1
內容預覽:
可以用全C指標的寫法 來達成 不過很怪異. 按照你的需求 有更快的作法是 set 或是 get field by name. 利用 reflection 就可以 google 關鍵字 c# struct set filed reflection. 參考 https://tinyurl.com/yas
(還有203個字)

推噓1(1推 0噓 13→)留言14則,0人參與, 7年前最新作者justinj (黑旋風)時間7年前 (2018/03/20 10:43), 7年前編輯資訊
0
0
0
內容預覽:
public struct AAA. {. public string BBB;. public string BBB2;. public string BBB3;. public string BBB4;. }. public struct CCC. {. public AAA C1;. publ
(還有532個字)
首頁
上一頁
1
下一頁
尾頁