0

How Console.ReadLine works in C#?

6th Jul 2021, 3:07 PM
Ulul Azmi
Ulul Azmi - avatar
1 Réponse
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.
6th Jul 2021, 3:48 PM
Maksat Ramazanov
Maksat Ramazanov - avatar