What is console.readline??its for what..someone can explain me..?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is console.readline??its for what..someone can explain me..??

1st Oct 2019, 11:43 AM
Heroes Melvan
1 Answer
+ 2
console.readline is for creating a data entry for the user, ie: var str = Console.ReadLine() will bring up an area for the user to type something in, and what this user will type will be stored within the variable str as a string
1st Oct 2019, 12:05 PM
Wardy Spirit
Wardy Spirit - avatar