public MinListe(MinListe <T> list) { foreach (T i in list) { this.Add(i); } //this.AddRange(list); }
private void OnDeserialized(StreamingContext context) { MinListe <T> items = new MinListe <T>(this); this.Clear(); foreach (T item in items) { this.Add(item); } }