Just a question of general information and out of own interest.
In Classic MSDOS based QBasic, QuickBasic versions (not Microsoft Visual Basic on Windows), we had commands like
Beep, sound and Play
Play can also have programmatic abilities like playing musical notes.
I was trying to find out if this feature was available as some library or wrapper fro C# or VB.NET too.