static void RunMP3Chart() { MP3Chart mp3chart = new MP3Chart(); mp3chart.ShowMusicList(); mp3chart.GetVotes(); mp3chart.ShowVotes(); }
/// <summary> /// Task 5.2 /// </summary> private static void TestSongs() { MP3Chart chart = new MP3Chart(); chart.ShowSongs(); bool finish = false; while (!finish) { int songNo = chart.GetVotes(); if (songNo == 0) { finish = true; } } chart.ShowVotes(); }
///<summary> /// Task 5.2. Create a list of song tracks and get vote /// for the favourite one. /// </summary> private static void TestMP3Chart() { MP3Chart MP3 = new MP3Chart(); MP3.ShowSongs(); bool finish = false; while (!finish) { int songNo = MP3.GetVotes(); if (songNo == 0) { finish = true; } } MP3.ShowVotes(); }