如何初始化这样的类型 public class People { public string Name { get; set; } } public class App { public void Main() { People[][] testPeople=?????这部分如何初始化 } } People[][]这种写法是不是在声明一个2维数组,和 People[,]有什么区别?谢谢o(∩_∩)o 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 交错数组...基础问题去看MSDN...http://msdn.microsoft.com/zh-cn/library/2s05feca(VS.80).aspx int x,y;People[][] testPeople = new People[x][y]; People[,] testPeople= new People[1, 2]; int[][] arr = new int[2][];arr[0] = new int[5] { 1, 2, 3, 4, 5 };arr[1] = new int[4] { 6, 7, 8, 9 }; 窗口闪烁问题? C# 引用DLL的问题 关于匿名方法和lambda表达式 c# Dataset导出数据到excel的问题? C# 如何注册服务 有没有拷贝目录的方法,类似xcopy用途 请大家帮我设计一下该怎么做 windows service 中如何成功运行 webbrowser? c# 中 碰到 “在某个线程上创建的控件不能成为在另一个线程上创建的控件的父级。” 错误,如何解决?求大神解救 如何创建自定义控件的DesignTime可编辑属性? 关于过时的方法GetDefaultProxy() c# 现在主流的图片是如何处理的 (图片可能很大)
People[][] testPeople = new People[x][y];
arr[0] = new int[5] { 1, 2, 3, 4, 5 };
arr[1] = new int[4] { 6, 7, 8, 9 };