0

Anyone got a clue why I can't print the name, still new to coding.

https://code.sololearn.com/cdfz65P9h983/?ref=app

18th Jan 2023, 12:13 PM
Johnrick Daeben Docabo
Johnrick Daeben Docabo - avatar
2 odpowiedzi
+ 1
Hey Johnrick Daeben Docabo, You cant call WriteLine straight from a class (outside of a class method) I moved that line for you to the proper place, you can have a look: https://code.sololearn.com/chwWyfPCn101/?ref=app
18th Jan 2023, 12:27 PM
Tim G
Tim G - avatar
0
Thanks Tim G
18th Jan 2023, 1:06 PM
Johnrick Daeben Docabo
Johnrick Daeben Docabo - avatar