日期:2014-05-17 浏览次数:20452 次
大概格式:
public class ListItem
{
public int col1 {get;set;}
public int col2 {get;set;}
public int col3 {get;set;}
}
public class ListParam
{
public int ID {get;set;}
public List<ListItem> list {get;set;}
}
int[,] ar = new int[2, 3];
int[] t = new int[ar.GetLength(1)];
for (int a = 0; a != ar.GetLength(1); a++) t[a] = (int)ar.GetValue(1, a);/*t[a] = ar[1, a]; */