public SongCollection Clone() { SongCollection sc = new SongCollection(); foreach (Song song in this.innerlist) { sc.Add(song); } return(sc); }
public SongCollection Clone() { #if WINDOWS_PHONE if (this.songCollection != null) { throw new NotSupportedException(); } #endif SongCollection sc = new SongCollection(); foreach (Song song in this.innerlist) { sc.Add(song); } return(sc); }