看板
[ C_Sharp ]
討論串[問題] ref跟指標
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
可以用全C指標的寫法 來達成 不過很怪異. 按照你的需求 有更快的作法是 set 或是 get field by name. 利用 reflection 就可以 google 關鍵字 c# struct set filed reflection. 參考 https://tinyurl.com/yas
(還有203個字)
內容預覽:
public struct AAA. {. public string BBB;. public string BBB2;. public string BBB3;. public string BBB4;. }. public struct CCC. {. public AAA C1;. publ
(還有532個字)
首頁
上一頁
1
下一頁
尾頁