+ 1

Error

Error: The name '... ' does not exist in the current context Help..

2nd Sep 2017, 9:38 AM
Sagar
Sagar - avatar
6 Antworten
+ 5
Embed your code please, people can't help if they can't see and analyze your code.
2nd Sep 2017, 9:44 AM
Ipang
+ 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
2nd Sep 2017, 10:01 AM
Ipang
+ 1
https://code.sololearn.com/cWZB6LE7xwYN/?ref=app
2nd Sep 2017, 9:49 AM
Sagar
Sagar - avatar
+ 1
you cannot add Console.WriteLine() in method which have return type. use void to make method can use WriteLine().
2nd Sep 2017, 10:04 AM
Zeron
Zeron - avatar
0
Print() not print()
2nd Sep 2017, 9:55 AM
Zeron
Zeron - avatar