Learning CSharp with Sharpdevelop

When it comes to building .NET applications our first choice is always visual studio. But for some people it can be big download even if they choose to download visual c# express. Sharpdevelop is one alternative that can be used in such cases as it is perfect for creating .net applications and it much lighter on download size and is free as well.


Before you start working with sharpdevelop you need to have following software’s installed:

.NET Framework

If you’ve windows 7 as operating system then you need to download Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1

Download the Sharpdevelop from official website. Once you download the application, install it successfully and after that you’re all set to learn .net with it.

Let’s start with simple C# console program first before starting with complicated programs. To create console programs using sharpdevelop follow the steps:

- Start sharpdevelop from desktop icon or Windows> All Programs > Sharpdevelop

- Once IDE opens up after splash page Click on File > New > Solution.

- This will open up new window for selecting type of solution you want to create.

Chcek the categories pane and select C# > Windows Programs > Console Application.

- Once you choose console application icon, fill in the details like name of solution, location for solution. After completing these fields hit the button “create”.

- You’ll find sample “hello world “ program already created for your. You can choose to edit this program by modifying “Console.WriteLine (“ “). Insert any text you want within those quotes.

Running the program

In order to run the program follow these steps:

  • - In IDE Menu Look for Build > Build Solution.
    - Once solution is build, Go to Debug > Run.
    - This will bring the console window with output. .

Now you’re all set to create your own C Sharp projects using sharp develop. In case if you’ve any problems running program or have any errors make sure you’ve .NET SDK & Runtime installed on your computer.

To get more help with sharpdevelop you can try these forums:

- Sharpdevelop forums
- Stackoverflow
- Codesynapse forums

If you’ve any questions or suggestions feel free to comment.