0

When we just finished putting console.writeline aint we suppose to end with console.readline

18th Feb 2017, 10:58 AM
Sizwe
Sizwe - avatar
4 Antworten
+ 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
3rd Mar 2017, 11:12 AM
Sizwe
Sizwe - avatar
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
3rd Mar 2017, 9:43 AM
Martins Akoje
Martins Akoje - avatar
0
alright, slow and steady no need to rush it.
3rd Mar 2017, 4:24 PM
Martins Akoje
Martins Akoje - avatar
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".
7th Mar 2017, 3:02 PM
Stephen Jukes