add Programmyday form github
This commit is contained in:
21
AudioPlayer/FLACFile.cs
Normal file
21
AudioPlayer/FLACFile.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AudioPlayer
|
||||
{
|
||||
internal class FLACFile : AudioFile
|
||||
{
|
||||
public FLACFile(string fileName, string speicherOrt)
|
||||
{
|
||||
this.fileName = fileName;
|
||||
this.speicherOrt = speicherOrt;
|
||||
}
|
||||
public override void Play()
|
||||
{
|
||||
Console.WriteLine($"{this.fileName} von {this.speicherOrt} vom Typ FLAC wird abgespielt.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user