22 lines
518 B
C#
22 lines
518 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AudioPlayer
|
|
{
|
|
internal class MP3File : AudioFile
|
|
{
|
|
public MP3File(string fileName, string speicherOrt)
|
|
{
|
|
this.fileName = fileName;
|
|
this.speicherOrt = speicherOrt;
|
|
}
|
|
public override void Play()
|
|
{
|
|
Console.WriteLine($"{this.fileName} von {this.speicherOrt} vom Typ MP3 wird abgespielt.");
|
|
}
|
|
}
|
|
}
|