add Programmyday form github

This commit is contained in:
Ruben Kallinich
2024-07-25 15:47:46 +02:00
parent 09c8eab938
commit 7362c3d7ce
132 changed files with 3669 additions and 0 deletions

20
AudioPlayer/Program.cs Normal file
View 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();
}
}
}