- 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.
- 從零開(kāi)始構(gòu)建企業(yè)級(jí)RAG系統(tǒng)
- Visual Basic 6.0程序設(shè)計(jì)計(jì)算機(jī)組裝與維修
- Reactive Programming with Swift
- 程序員考試案例梳理、真題透解與強(qiáng)化訓(xùn)練
- Apache Spark Graph Processing
- Neo4j Essentials
- Java:Data Science Made Easy
- 零基礎(chǔ)學(xué)Python數(shù)據(jù)分析(升級(jí)版)
- Angular開(kāi)發(fā)入門(mén)與實(shí)戰(zhàn)
- Python程序設(shè)計(jì)教程
- Learning GraphQL and Relay
- 情境微課開(kāi)發(fā)(第2版)
- Perl 6 Deep Dive
- VBA Automation for Excel 2019 Cookbook
- Python GUI設(shè)計(jì):tkinter菜鳥(niǎo)編程