+ 1
Error
Error: The name '... ' does not exist in the current context Help..
6 Answers
+ 5
Embed your code please, people can't help if they can't see and analyze your code.
+ 4
@Sagar, @Tobias Hallmans has good answer, I thought of the same thing. Case sensitivity and class method accessibility.
(Edit)
@Zeron's code also works.
Thanks @Tobias Hallmans, @Zeron
+ 1
https://code.sololearn.com/cWZB6LE7xwYN/?ref=app
+ 1
you cannot add Console.WriteLine() in method which have return type.
use void to make method can use WriteLine().
0
Print() not print()