Пример #1
0
 public void AddTrack(Track track)
 {
     Tracks.Add(track);
 }
        //In order to use the Tracks
        //List you must first initialize it as a new List object of the type string:
        // public List<string> Track { get; } = new List<string>();

        public void AddTrack(Track trackName)
        {
            Tracks.Add(trackName);
        }