根据长度创建数组

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] { };
        }
    }
}

 

转载于:https://www.cnblogs.com/ganquanfu2008/archive/2013/05/22/3093629.html

你可能感兴趣的:(根据长度创建数组)