string snack2[][]=new string[Math.Round(snacks.Length/2)][2];
int cnt=0;
for(int i=0;i<Math.Round(snacks.Length/2);i++)
{
for (int j=0;j<2;j++)
{
snacks2[i][j]=snack[cnt++];
}
}
3
solved How To convert 1D array to 2D array in C# [closed]