- 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.
推薦閱讀
- C程序設(shè)計簡明教程(第二版)
- OpenCV實例精解
- SEO實戰(zhàn)密碼
- Nexus規(guī)模化Scrum框架
- EPLAN實戰(zhàn)設(shè)計
- Mastering JavaScript Design Patterns(Second Edition)
- Clojure Reactive Programming
- Windows Phone 7.5:Building Location-aware Applications
- HTML5秘籍(第2版)
- JavaScript程序設(shè)計:基礎(chǔ)·PHP·XML
- Struts 2.x權(quán)威指南
- Python Deep Learning
- Practical Maya Programming with Python
- Java高并發(fā)編程詳解:深入理解并發(fā)核心庫
- 從“1”開始3D編程