r/programminghelp • u/Logical_Ideal • Dec 23 '21
C# Why this code gives CS8600 problem
C# Example:
String name;
name = Console.ReadLine();
Console.WriteLine(name);
This problem only occurs in ReadLine....why?
6
Upvotes
r/programminghelp • u/Logical_Ideal • Dec 23 '21
C# Example:
String name;
name = Console.ReadLine();
Console.WriteLine(name);
This problem only occurs in ReadLine....why?
1
u/Elegant-Moment-9835 Sep 25 '22
I am having the same problem, but every time the program gets to that line, (after I put in my input and hit enter) it closes. Does anyone know why? (I have code after this too)