- Learn C# in 7 days
- Gaurav Aroraa
- 163字
- 2021-07-08 09:51:23
Discussing code
We have gone through the console application and discussed what a typical console application contains and how we can set various things using Visual Studio. Now let's discuss our code, which was written in the previous section, Understanding a typical C# program.
Console is a static class of a System namespace and it can't be inherited.
In the said code, we instructed the program to write something to the console as an output with the help of the WriteLine() method.
The official definition of Console class is as follows (https://docs.microsoft.com/en-us/dotnet/api/system.console?view=netcore-2.0):
Console is nothing but an operating system's terminal-windows (also known as Console User Interface (CUI))to interact with users. Windows operating system has console, that is, Command Prompt that accepts MS-DOS commands. In this way, the Console class provides basic support to achieve this.
Here are a few important operations we can do with the console.
- OpenDaylight Cookbook
- 大學計算機應用基礎實踐教程
- Java 開發從入門到精通(第2版)
- Python測試開發入門與實踐
- Architecting the Industrial Internet
- Android 應用案例開發大全(第3版)
- 網絡爬蟲原理與實踐:基于C#語言
- Python數據可視化之Matplotlib與Pyecharts實戰
- Mastering JBoss Enterprise Application Platform 7
- 大學計算機基礎實驗指導
- ANSYS Fluent 二次開發指南
- Image Processing with ImageJ
- 零基礎學Java第2版
- Elasticsearch搜索引擎構建入門與實戰
- 軟件再工程:優化現有軟件系統的方法與最佳實踐