private void DetermineCellMeanColor(int i, Cell[] neighbours) { if (neighbours.Length > 0 && cells[i].Alive) { cells[i].Color = Cell.GetMeanColor(neighbours); } }