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

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.

主站蜘蛛池模板: 雷波县| 上林县| 唐河县| 阳信县| 辽阳县| 稻城县| 逊克县| 卢湾区| 鹰潭市| 佛山市| 班玛县| 三都| 宜昌市| 中江县| 贞丰县| 武山县| 洪洞县| 永新县| 沅江市| 比如县| 云林县| 靖宇县| 霍山县| 阿拉善右旗| 浦县| 清涧县| 南岸区| 彭水| 工布江达县| 木兰县| 婺源县| 新民市| 斗六市| 孝昌县| 海宁市| 黑龙江省| 新闻| 堆龙德庆县| 遂溪县| 涟水县| 克拉玛依市|