0
When we just finished putting console.writeline aint we suppose to end with console.readline
4 odpowiedzi
+ 1
Thanks the problem is that in I'm a first year and doing C# and it's new to me so I'm trying by all means to understand it... And it's an interesting to in our generation
0
Not really.
Console.ReadLine(); It reads inputted value
Example
Console.Write("Enter name: ");
String Sname = Console.ReadLine(); /*It stores input value to Sname. */
Console.WriteLine(Sname); // Displays the name
0
alright, slow and steady no need to rush it.
0
Not all WriteLine(s) ask for information, and therefore require a ReadLine. Some WriteLine(s) may simply inform the user of something, for example "Your email has been sent successfully".