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)
.