Error CS5001 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

5th May 2020, 5:09 PM
Mateusz Legend
Mateusz Legend - avatar
8 Answers
+ 3
https://i.imgur.com/NOgnqhP.png
5th May 2020, 5:17 PM
Mateusz Legend
Mateusz Legend - avatar
+ 3
Ah yee web compiler sux than. Thanks for explanation :)
5th May 2020, 10:28 PM
Mateusz Legend
Mateusz Legend - avatar
+ 3
Today it works ;)
7th May 2020, 2:56 PM
Mateusz Legend
Mateusz Legend - avatar
+ 2
When i click run this error shows up
5th May 2020, 5:14 PM
Mateusz Legend
Mateusz Legend - avatar
+ 2
Mateusz Lazi I didn't get any error. Take input like this 3 6 2 And Submit
5th May 2020, 5:15 PM
A͢J
A͢J - avatar
+ 1
Mateusz Lazi It's working. What is issue here?
5th May 2020, 5:13 PM
A͢J
A͢J - avatar
+ 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.
5th May 2020, 5:37 PM
Steve Stott
Steve Stott - avatar
0
Works again today. Does it work for you now?
6th May 2020, 11:55 PM
Steve Stott
Steve Stott - avatar