Beginner's error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Beginner's error

compiler.csharp: error CS0103: The name 'xp' does not exist in the current context

26th May 2019, 10:03 PM
Djay RmF
Djay RmF - avatar
4 Answers
26th May 2019, 10:04 PM
Djay RmF
Djay RmF - avatar
0
You forgot the brackets of the Main function. Also you didn't declare and set the xp variable.
26th May 2019, 10:30 PM
Andres0b0100
Andres0b0100 - avatar
0
But how to declare thank you
26th May 2019, 10:32 PM
Djay RmF
Djay RmF - avatar
26th May 2019, 10:38 PM
Andres0b0100
Andres0b0100 - avatar