日期:2014-05-17 浏览次数:21004 次
public class aaa
{
int[] _numbers;
public int this[int index1]
{
get
{
return _numbers[index1];
}
}
}
public class bbb
{
int[][] _numbers;
public int this[int index1][int index2] //这里该怎么设置?
{
get
{
return _numbers[index1][index2];
}
}
}
public class bbb
{
int[][] _numbers;
public int[] this[int index] //这里该怎么设置?
{
get
{
return _numbers[index];
}
}
}