+ 3

How to enter inputs in C#

12th Nov 2020, 3:38 AM
H.Nelson
H.Nelson - avatar
14 Réponses
+ 4
Console.Readline()
12th Nov 2020, 3:46 AM
Muhammad Galhoum
Muhammad Galhoum - avatar
+ 3
Like suppose, im taking input of user's name, so i write this code: var name = Console.ReadLine(); Console.Write(name); Now in the input box, user has written his name, suppose he wrote: John So now the output will be the user's name. I hope this helps u.
12th Nov 2020, 5:14 PM
Mohan
Mohan - avatar
+ 2
Thanks
13th Nov 2020, 2:13 AM
H.Nelson
H.Nelson - avatar
+ 2
Hm, you uses Githab?
13th Nov 2020, 4:28 AM
Николай Бойцов
Николай Бойцов - avatar
+ 1
After writing my program a window pop up saying "your program needs input"
12th Nov 2020, 6:29 AM
H.Nelson
H.Nelson - avatar
+ 1
What does it mean?
12th Nov 2020, 6:30 AM
H.Nelson
H.Nelson - avatar
+ 1
Use Console.Readline ();
12th Nov 2020, 8:17 AM
George S Mulbah II
George S Mulbah II - avatar
+ 1
the box is where ou put your input
12th Nov 2020, 3:50 PM
Gizmo-Lang
Gizmo-Lang - avatar
+ 1
you
12th Nov 2020, 3:50 PM
Gizmo-Lang
Gizmo-Lang - avatar
0
Can you give me an example ?
12th Nov 2020, 12:28 PM
H.Nelson
H.Nelson - avatar
0
So we can't give inputs in C# solo learn
5th Dec 2021, 4:36 AM
Surendra Kshetri
Surendra Kshetri - avatar