0
How Console.ReadLine works in C#?
2 Antworten
0
Each application accepts some data at the input, then there is a calculation or work with this data, and the result of the calculation is displayed at the output.
If the Console.Write () or Console.WriteLine () methods are used to display text in the console window, i.e., to display the result of a calculation, then
The Console.ReadLine () method is appropriately used to accept (read) any data by the application.
In this case, if we have a console application, then we are working with methods in the console.