public virtual object Clone()
        {
            ListWithOnChanged <T> clone = new ListWithOnChanged <T>();

            T[] arr = this.ToArray();
            clone.AddRange(arr);
            return(clone);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="name">Nama Variabel</param>
 /// <param name="description">Deskripsi Variabel</param>
 /// <param name="numberObservations">Jumlah Observasi</param>
 public SeriesVariable(string name, string description, int numberObservations)
 {
     this.initialize(name, description);
     double[] temp = new double[numberObservations];
     seriesValues.AddRange(temp);
 }