0
Why it doesn't run in code playground? What means that error?
int Myspace Myspace = 14 - run - > error... why?
8 Respuestas
+ 6
Next time use the plus icon to link your code to your question so we can see exactly what your issue is by running it. Good luck!
+ 5
namespace SoloLearn {
// You have Myspace declared here...
class Program {
// You can put it here like this:
int Myspace = 14 ;
static void Main(string[] args) {
// Or put your assignment here with
// declaration either here or above.
}
}
}
+ 1
There are no semi colons.
+ 1
thanks!
+ 1
Rose Loreles you have to have it inside the class or the main method
0
Thank you!
0
I tried. there still is an error
0
A namespace cannot directly contain members such as fiels and methods. - error
What it means?