skuskil som to takto a nepaci sa:
public T this[int x, int y]
{
get
{
List<T> sublist = new List<T>();
sublist = matrix[x];
return sublist[y];
/*
*/
}
set
{
List<T> sublist = new List<T>();
sublist = matrix[x];
sublist[y] = value;
matrix[x] = sublist;
}
}
vie mi niekto poradit?