Ask coding questions

← Back to all posts
Console.Beep() is not working C#

I was trying out this code I got from and I copied it onto this ( It is supposed to play the notes of Mary Had a Little Lamb which all have different frequencies but whenever I run the it plays the same note with the same frequency. I then copied the code on Visual Studio and it worked so I think there's something wrong with connecting to the sound from the computer maybe.