C# 'Console' doesn't contain a definition for 'Readline' error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C# 'Console' doesn't contain a definition for 'Readline' error?

Hi. When i tried to get input for one of the "Code Coach" example, i keep getting ['Console' doesn't contain a definition for 'Readline'] error? I have import related namespaces. But i am still getting this error. Can someone explain why happen this. Also my code runs as espected in Visual Studio.

15th Jul 2020, 4:39 PM
Servet Birlik
Servet Birlik - avatar
2 Answers
0
Servet Birlik , I think it's a typo write "ReadLine" instead of "Readline" 🐱
15th Jul 2020, 4:42 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
Thanks for quick response. It works now nicely. 😃
15th Jul 2020, 4:46 PM
Servet Birlik
Servet Birlik - avatar