protected string[] SymbolsList
{
get
{
return (string[]) this.ViewState["Symbols"];
} set
{
this.ViewState.Add("Symbols", value);
}
}

解决方案 »

  1.   

    puclic class A
    {
       private int B[][] _b;
       public int B[][]
       {
           set{ _b = value; }
           get { return _b; }
       }
    }
      

  2.   

    using System;namespace c1
    {
    /// <summary>
    /// Class1 的摘要说明。
    /// </summary>
    class Class1
    {
    private static  int[][] i;
    public static  int[][] I
    {
    get
    {
    return i;
    }
    set
    {
        i=value;
    } } /// <summary>
    /// 应用程序的主入口点。
    /// </summary>
    [STAThread]
    static void Main(string[] args)
    {
    I=new int[][]{new int[]{1,2},new int[]{3,4}};
    foreach(int[] j in i)
    foreach(int h in j)
       Console.WriteLine(h.ToString());
    //
    // TODO: 在此处添加代码以启动应用程序
    //
    }
    }
    }
      

  3.   

    puclic class A
    {
       private int _b[][] ;
       public int   B[][]
       {
           set{ _b = value; }
           get { return _b; }
       }
    }