public Field(int size, int numberOfBombs) { this.Size = size; this.Grid = new Cell[size, size]; this.FillFieldWithEmptyCells(); this.NumberOfBombs = numberOfBombs; this.PlaceBombs(numberOfBombs); }