- Learn C# in 7 days
- Gaurav Aroraa
- 103字
- 2021-07-08 09:51:23
Beep
Beep is the method that generates system sound through the console speaker. The following is the simplest example:
private static void ConsoleBeepExample() { for (int i = 0; i < 9; i++) Beep(); }
There are a few more methods that are helpful while working with the console application. For more detail on these methods, refer to https://docs.microsoft.com/en-us/dotnet/api/system.console?view=netcore-2.0.
Until now, we have discussed a typical C# program with the help of a code example using Visual Studio 2017; we went through various sections of the console program and discussed them. You can revisit this section once again or proceed with further reading.
推薦閱讀
- PHP動態網站程序設計
- Python語言程序設計
- Web交互界面設計與制作(微課版)
- Mastering PHP Design Patterns
- UML+OOPC嵌入式C語言開發精講
- 精通Python自然語言處理
- 信息技術應用基礎
- C#實踐教程(第2版)
- Learning OpenCV 3 Computer Vision with Python(Second Edition)
- 用案例學Java Web整合開發
- Learning Material Design
- 移動增值應用開發技術導論
- Raspberry Pi Robotic Projects(Third Edition)
- Android Development Tools for Eclipse
- 大學計算機基礎實驗指導