//StructStudent[] stsz = new StructStudent[5];
//for (int i = 0; i < stsz.Length; i++)
//{
// stsz[i] = new StructStudent();
//}
问题一:请解释下以上代码的意思
问题二:结构体如果在创建结构体对象后如不给结构体数组对象实例化会怎么样?
问题三:我要保存N个学生结构体难道一一给他们结构体赋值吗?
我能用这个
//for (int i = 0; i < stsz.Length; i++)
//{
// stsz[i] = new StructStudent();
//} 全部赋值吗?