locked
Doesn't the function like sound() in C++ exist in C#? RRS feed

  • Question

  • Hi everyone!

    There is C++ source

     

    #include <dos.h>

    #include <stdio.h>

     

    void main()

    {

          sound(5000);

          delay(10);

          nosound();

    }

     

    I want to express in C# language

    So I found the methods --> System.Console.Beep();

    But the method makes sound in PC Speaker.

    I want to have my computer make 5000Hz sound in the sound card.

     

    Isn't there any way to do it?

     

    Monday, December 10, 2007 8:00 AM

Answers

All replies