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

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.

主站蜘蛛池模板: 宝丰县| 淮北市| 吉木萨尔县| 石楼县| 武城县| 宝鸡市| 长寿区| 福贡县| 旬阳县| 依安县| 静海县| 文安县| 通山县| 巫溪县| 新野县| 韶关市| 防城港市| 永川市| 蚌埠市| 香港| 阿勒泰市| 柯坪县| 社旗县| 横山县| 金山区| 宜川县| 云和县| 镇平县| 讷河市| 西昌市| 洛浦县| 浮梁县| 山丹县| 河北区| 宿迁市| 徐闻县| 晋宁县| 二手房| 五原县| 抚顺市| 平原县|