C#,CLI类型对应关系

C#, value type passed by value: (int a) — C++/CLI: the same: (int a)
C#, value type passed by ref: (ref int a) — C++/CLI: the same: (int %a)
C#, reference type passed by value: (string a) — C++/CLI: (string ^a)
C#, reference type passed by ref: (ref string a) — C++/CLI: (string ^%a).

posted @ 2014-09-28 08:31  rain_2012_qf  阅读(429)  评论(0编辑  收藏  举报