There is an array of buttons:
Button[,] buttons = new Button[n,n]; How to run through all the buttons on the form (or grid), add them to this array? And in general, how will the “run through” of all buttons occur (that is, in what sequence will these buttons be selected)?