How can I play a song in a c# console?
I found it but how can I make so it stops when I type "stop"?
4 Replies
some sort of if condition with character matching to stop ?
Its alright
Do you know how to make a timer by any chance?
I think you can also use a simple timer for this if there is a time duration . Just use the System.Timer system create an object timer = new System.Timers.Timer() ; and after the interval you can just reset the timer and exit
I got it
thank you though