Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Can I have more than 1 program in a project?

$
0
0

I'm new to learning C# programming and have started using Sharp Develop. I'm facing a problem. Whenever I have two .cs files in a project with entirely different programs written in them, I cannot run any and I get an error saying "The project has more than 1 entry point" since both the files have their own Main() methods. Also, I tried creating these second program in another project in the same solution and when I ran it, I didn't get the new program's output but got the first program's output. It seems that sharp develop just can run only 1 program in 1 project in a solution. But I wanna have multiple different programs in the same place as in other IDEs of other programming languages like Java where I had more than  one file in a project and I could choose which one to run. I haven't been able to do something like that in Sharp Develop. So I need someone to help me do that. It's be greatly appreciated. Thanks :)


Viewing all articles
Browse latest Browse all 1764

Trending Articles