I make a button that create a new form and pass to it an array but there is an error there is the code
int [] x=new int[9];
x={0,1,2,3,4,5,6,7,8};
form1 x =new form1(x);
and the other form constructor code is
public form1(int[]x)
{
InitializeComponent();
}