add Programmyday form github
This commit is contained in:
20
AudioPlayer/Program.cs
Normal file
20
AudioPlayer/Program.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
namespace AudioPlayer
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
AudioFile song1 = new MP3File("An Ocean Between Us","bungabunga");
|
||||
AudioFile song2 = new FLACFile("Lie to me","ungabunga");
|
||||
AudioFile song3 = new MP3File("Fly high", "ungabungabunga");
|
||||
AudioFile song4 = new WAVFile("Forever", "bungaunga");
|
||||
AudioPlayer player = new AudioPlayer(5);
|
||||
player.AddFile(song1);
|
||||
player.AddFile(song2);
|
||||
player.AddFile(song3);
|
||||
player.AddFile(song4);
|
||||
player.PlayAll();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user