for (int i = 0; i < sentenceN; i++)
    {
        for (int j = 0; j < array[i].Length; j++)
        {
            for (int x = 0; x < sentenceN; x++)
            {
                for (int y = 0; y < array.Length[x]; y++)
                {
                    if (array[i][j] == array[x][y])
                        B[x][y] = containN++;
                    break;
                }
            }
        }
    }
报错说:
错误 1 不能在此范围内声明名为“x”的局部变量,因为这样会使“x”具有不同的含义,而它已在“父级或当前”范围中表示其他内容了 D:\研究\WindowsApplication1(9.7.)\WindowsApplication1(7.29.)\WindowsApplication1\Form1.cs 100 22 WindowsApplication1
请问什么问题?谢谢!