I'm just messing around with coding, and I want to know how to play an mp3 file if a user presses a button. I can already detect the user input no problem, it's playing a file that I can't seem to find how to do
{
Console.WriteLine("Hello,[user]!");
Console.WriteLine("Please Enter Your Username");
Console.WriteLine();
string uname = Console.ReadLine();
Thread.Sleep(600);
Console.Clear();
Thread.Sleep(600);
Console.WriteLine("Welcome to Axiom, " + uname);
Console.WriteLine("If You Want To Find The Full List Of Commands, Please Press 1");
Console.WriteLine();
while (true)
{
string keyChoice = Console.ReadLine();
switch (keyChoice)
{
case "1":
Thread.Sleep(600);
Console.Clear();
Thread.Sleep(600);
Console.WriteLine("Console Commands:");
Console.WriteLine("Press '2' To Get 1000$ FREE");
Console.WriteLine("Press '3' To Pick Command 3");
Console.WriteLine();
Console.WriteLine("Press '0' To Exit Or Press A Command Button To Execute A Command");
Console.WriteLine();
continue;
case "2":
Thread.Sleep(600);
Console.Clear();
Thread.Sleep(600);
//This is where I want to add the file. To rickroll someone of course
continue; `