c++ managed code 几个问题# DotNet - 窗口里的风景
s*i
1 楼
1。 ArrayList
I added some integers into it, say
=======
ArrayList *list=new ArrayList();
list->Add(__box(12));
...
Now, how do I test if integer "12" is there or not? Using Contains()? What is
the syntex?
2. Array problem
在头文件里面定义
int arrayTest __gc [];
现在得知数组全部数据为 1,2,3,4,5。怎么很简洁的初始化数组?
I added some integers into it, say
=======
ArrayList *list=new ArrayList();
list->Add(__box(12));
...
Now, how do I test if integer "12" is there or not? Using Contains()? What is
the syntex?
2. Array problem
在头文件里面定义
int arrayTest __gc [];
现在得知数组全部数据为 1,2,3,4,5。怎么很简洁的初始化数组?