- 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.
推薦閱讀
- Mastering OpenLayers 3
- AngularJS入門與進(jìn)階
- GAE編程指南
- 密碼學(xué)原理與Java實現(xiàn)
- Manga Studio Ex 5 Cookbook
- Visual Basic程序設(shè)計教程
- Spring核心技術(shù)和案例實戰(zhàn)
- 低代碼平臺開發(fā)實踐:基于React
- Terraform:多云、混合云環(huán)境下實現(xiàn)基礎(chǔ)設(shè)施即代碼(第2版)
- Learning AngularJS for .NET Developers
- Android開發(fā)三劍客:UML、模式與測試
- Zabbix Performance Tuning
- Serverless Web Applications with React and Firebase
- Distributed Computing in Java 9
- Julia數(shù)據(jù)科學(xué)應(yīng)用