//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); }
public void AddTrack(Track track) { Tracks.Add(track); }
public void AddTrack(Tracks track) { tracks.Add(track); }