PurplePen.DotGrid.GetAllDots C# (CSharp) Method

GetAllDots() public method

public GetAllDots ( ) : ].bool[
return ].bool[
        public bool[,] GetAllDots()
        {
            bool[,] dotValues = new bool[dotsDown, dotsAcross];

            for (int row = 0; row < dotsDown; ++row)
                for (int col = 0; col < dotsAcross; ++col)
                    dotValues[row, col] = dots[row][col];

            return dotValues;
        }