根据长度创建数组

namespace ConTest
{
    class DataSeries
    {
        public double[] Datas { get; set; }
        public DataSeries(int len)
        {
            this.Datas = new double[len];
        }
        public DataSeries()
        {
            this.Datas = new double[0] { };
        }
    }
}

 

posted @ 2013-05-22 21:07  Predator  阅读(157)  评论(0编辑  收藏  举报