public void ForEachInColl(int x,receiveDataMember closure) { for(int y = 0; y < data.GetLength(1); y++){ closure(ref data[y, x]); } }
public void ForEachInRow(int y,receiveDataMember closure) { for(int x = 0; x < data.GetLength(0); x++){ closure(ref data[y, x]); } }
public void ForEach(receiveDataMember closure) { for(int y = 0; y < data.GetLength(1); y++){ for(int x = 0; x < data.GetLength(0); x++){ closure(ref data[y,x]); } } }