c++的结构体里 int aResStateMsg8对应 C#结构里的什么
在C#中,对应C++结构体中的int aResStateMsg[8],可以使用int类型的数组来表示。在C#结构体中,可以使用以下声明:
public struct MyStruct
{
public int[] aResStateMsg;
}
这样就可以在C#中使用int类型的数组来表示C++结构体中的int aResStateMsg[8]。
原文地址: https://www.cveoy.top/t/topic/iPHQ 著作权归作者所有。请勿转载和采集!