+ 2
Error CS5001
hI! I have some weird issue. I don't think my code is wrong. It can't compile and the error is: error CS5001: Program does not contain a static 'Main' method suitable for an entry point What is the reason for that? Please help, thanks in advance. Code below https://code.sololearn.com/cEJH0DEbu9Nn/?ref=app
8 Answers
+ 3
https://i.imgur.com/NOgnqhP.png
+ 3
Ah yee web compiler sux than. Thanks for explanation :)
+ 3
Today it works ;)
+ 2
When i click run this error shows up
+ 2
Mateusz Lazi I didn't get any error.
Take input like this
3
6
2
And Submit
+ 1
Mateusz Lazi It's working. What is issue here?
+ 1
I am getting the same issue when compiling on the web. Compiles ok using the app.
Running the test code in the learning modules is giving this same error using the web compiler.
0
Works again today. Does it work for you now?