LittleWhite123
2016-11-17 15:44
采纳率: 53.1%
浏览 3.1k

c#类里面的二维数组,byte[]初始化问题,求解

class CStareim
{

   private int[][] _ImRes;               //图像数据二维数组初始化
    public int[][] ImRes
    {
        get
        {
            return _ImRes;
        }
        set
        {
            this._ImRes = value;
            //OnPropertyChanged("Name");
        }
    }

    private byte[] _picout;              //byte[]picout初始化
    public byte[] picout
    {
        get
        {
            return _picout;
        }
        set
        {
            this._picout = value;
            //OnPropertyChanged("Name");
        }
    }
    public CStareim()
    {
        this.RealTime = "";
        this.Band = "";

        this.picout=0 ;//怎么初始化
        this.ImRes=0 ;  //怎么初始化

       }

}

1条回答 默认 最新

相关推荐 更多相似问题