Example #1
0
 public Cell <T> CellAt(PositionInGrid position)
 {
     if (position.IsOutOfBoundsForGridOfSize(size))
     {
         return(new Cell <T>(this, null, default(T)));
     }
     return(_data[position.ToScalarForGridOfSize(size)]);
 }