Chess.Domain.Board.EmptyRow C# (CSharp) Method

EmptyRow() private static method

private static EmptyRow ( int row ) : Chess.Data.Entities.Square[]
row int
return Chess.Data.Entities.Square[]
        private static Square[] EmptyRow(int row)
        {
            var squares = new List<Square>();

            for (var c = 0; c < 8; c++)
                squares.Add(EmptySquare(c, row));

            return squares.ToArray();
        }