官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 安达市| 石家庄市| 远安县| 潜江市| 铁力市| 潞西市| 汤原县| 潢川县| 新民市| 三台县| 灌南县| 乡城县| 大兴区| 商城县| 江安县| 基隆市| 嘉黎县| 铁岭县| 辽源市| 扬州市| 玉龙| 许昌市| 德昌县| 宝丰县| 麻城市| 大方县| 潮州市| 广元市| 遂川县| 玉环县| 内乡县| 贞丰县| 芜湖县| 稷山县| 呼图壁县| 辽阳市| 淮安市| 江津市| 滁州市| 托克托县| 称多县|