- 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.
- Cocos2D-X權威指南(第2版)
- 移動UI設計(微課版)
- Django開發從入門到實踐
- C語言程序設計學習指導與習題解答
- Python編程實戰
- Mastering Business Intelligence with MicroStrategy
- C語言開發基礎教程(Dev-C++)(第2版)
- Python編程:從入門到實踐(第3版)
- HTML5+CSS3+jQuery Mobile APP與移動網站設計從入門到精通
- Learning iOS Security
- Python自然語言理解:自然語言理解系統開發與應用實戰
- 虛擬現實:引領未來的人機交互革命
- HTML5 and CSS3:Building Responsive Websites
- Selenium WebDriver自動化測試完全指南
- 自學Python:編程基礎、科學計算及數據分析