Why is there error with main? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why is there error with main?

So every day i sit and start coding for fun on visual studio, and after like 3-4 error appear saying "CS0017 C# program has more than one entry point defined" i read online that there is no explanation why is it happening so i wanned to ask here

14th Feb 2020, 3:08 PM
Peree
Peree - avatar
4 Answers
+ 2
If you need help, you can post the code you're struggling with! https://www.sololearn.com/post/75089/?ref=app My suggestion go through single line to line chek and take help on documentation on internet.. Sometimes it's hard to find error and vice versa
14th Feb 2020, 3:11 PM
Scooby
Scooby - avatar
+ 1
I had these errors too, i just gave up and got CodeBlocks instead. I think it has to do something with creating project, but i could be wrong
14th Feb 2020, 3:12 PM
Ignas Juodžiukynas
Ignas Juodžiukynas - avatar
0
Yes i tried loking at everything even deleting whole script to the point when its like default one and i didnt help
14th Feb 2020, 3:15 PM
Peree
Peree - avatar
0
Oh yea maybe it is wrong project type bcs there is like 50+ project type you can choose
14th Feb 2020, 3:17 PM
Peree
Peree - avatar