Skip to content Skip to navigation


You are here: Home » Content » HelloWorld with SharpDevelop


Recently Viewed

This feature requires Javascript to be enabled.

HelloWorld with SharpDevelop

Module by: Hannes Hirzel. E-mail the author

Summary: It is show how to do a 'hello world' program with the 'SharpDevelop' IDE (Integrated Development Environment).


This module is still a draft.


SharpDevelop is a free open source IDE (Integrated Development Environment) for the dotNet framework of Microsoft. It supports development in different languages. In this module a hello world program in C-sharp is done. It would be very similar for other languages.

It is assumed that you have downloaded and installed SharpDevelop.

First part

After starting the IDE


Create a new project

In the Sharp IDE projects are called 'solutions'. So click on 'New solution', then choose 'Windows Application'. ICsharpCodeNewProjectDialog.PNG

Main form

The initial code for a main form is generated. ICsharpCodeNewMainForm.PNG

Running the program

You may run the program in this status by clicking on the green triangle. ICsharpCodeFirstRun.PNG

What you see is the window of the running 'Hello World' program. Close it so that we are ready for enhancing it a bit.

Second part

In this part we are going to add a label to the 'hello world' program.

Click on the button 'Design' at the bottom of the tab 'Mainform.cs'.

After switching to 'Design' mode


'Tools' tab



The running program (second version)


Content actions

Download module as:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens


A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks