示例#1
0
 public MinListe(MinListe <T> list)
 {
     foreach (T i in list)
     {
         this.Add(i);
     }
     //this.AddRange(list);
 }
示例#2
0
        private void OnDeserialized(StreamingContext context)
        {
            MinListe <T> items = new MinListe <T>(this);

            this.Clear();

            foreach (T item in items)
            {
                this.Add(item);
            }
        }