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

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.

主站蜘蛛池模板: 台江县| 西青区| 沧源| 苍梧县| 修文县| 遂宁市| 车致| 固始县| 时尚| 阳东县| 鄂托克旗| 万宁市| 五家渠市| 林口县| 如东县| 吉水县| 丰县| 乌鲁木齐市| 章丘市| 皮山县| 新兴县| 清苑县| 郴州市| 怀仁县| 镇康县| 策勒县| 莱芜市| 新田县| 疏附县| 长治县| 南丰县| 金川县| 塔城市| 台南县| 保亭| 松桃| 泽州县| 东乡族自治县| 富顺县| 巴彦县| 东明县|