SharpDevelop takes you into the free C # programming environment

Source: Internet
Author: User
Tags documentation file system visual studio sharpdevelop
The programming Microsoft Company is particularly for. NET Framework designed the C # language, C # integrates the advantages of other languages into a powerful programming language. As a Java developer, I'm curious about the introduction of C #, and unfortunately for Microsoft's development environment, Visual Studio. NET, which lists more prices than $1,000, makes the problem obvious: I want to use the language, but I can't afford it. Thankfully, I found a free one. NET development environment, called SharpDevelop.


Get a copy of the software
This software can be downloaded from the SharpDevelop Web site and is available through the GNU General Public License. The download is a file that can quickly install the SharpDevelop on the machine, and the source code is available, and in this article we will use version 0.99. (The 0.99B version will be released soon)
Installing the SharpDevelop software requires that Microsoft. NET Sdk,sharpdevelop be located at the top of the. NET SDK to achieve functionality. Microsoft recommends installing Internet Information Server (IIS) and ADO 2.7 before installing the. NET SDK. Let's take a look at the characteristics of the sharpdevelop in detail.

Are you ready to accept more content?
Refer to these articles for technical details about the C # programming language:

. NET Coding Simplification
SharpDevelop, like vb.net and Java code, simplifies the development of C #, and the IDE is extensible, so it can support other languages, even if we focus only on the c#,ide in C #.

The environment also simplifies the development of engineering and documentation. The project is a combination of source files, references, and resource files, and the file is a single source file, figure A gives an overview of the SharpDevelop interface.

Figure A



SharpDevelop IDE

As you can see, the IDE is divided into three lattices, the main grid is on the left, then the code grid, the output grid is on the right, and the code grid makes it easy for you to see the C # source files and related assembly files. The output grid shows the output generated by code execution, and the other can be used to keep a list of tasks.

The main grid is divided into four tags: Projects, Classes, files, and tools. The projects label shows the current project, and the engineering class file is visible in the classes tag. As shown in Figure B, the output grid shows the results of compiling the sample class (without compilation errors). The Files tab provides access to the file system, and the Tools tab contains additional utility.

Figure B



View the classes and compile results



Adapt to your style
One of the strengths of SharpDevelop is its flexibility, and you can easily make the IDE and a single project customer a form of developer preference. For example, set the Options window in the main tools Drop-down. This window allows you to set the language (see Figure C), fonts, external tools, and a large number of text programmer options.

Figure C



IDE options:selecting The language

One feature that all developers in the IDE would like to see is code completion-a pop-up list and/or the available properties for an object in the main code grid. The list appears after you enter the object, signal mode, or attribute selection period. Figure D shows the list available in the System.Console object. If you're not interested in code completion, you can turn it off in the Options window.

Figure D



Code completion Feature

Let the code work for you
Once you have entered the code, you can use the Run menu to compile it, and figure E shows the compilation options. Any construction errors are displayed in the output grid, and the construction of the project creates an executable (EXE) file for the application, which is placed in the output path specified in the Project Options window, and figure f is the output path that I have assigned to the test project.

Figure E



SharpDevelop Compile Options

Figure F



Project options:output Path

You can also select the output type in the Project Options window, which you can set to winexe, library, or EXE. In my project, I choose EXE. Files (EXE) can be easily executed from a command prompt or by double-clicking a file in Windows Explorer.

Document Information
Documents can also be produced in sharpdevelop environments, and the C # style commentary assists in the implementation of this process. The Generate documentation and HTML export options are available through the Project menu. and easy to produce the document as an HTML file. These files include assembly code and source code information, as well as a primary index file.

Other options
SharpDevelop is not on the market for visual Studio. NET, although it provides a flexible and easy-to-use environment, and you can not change the price of goods. A quick search on the web will give you some results, all of which can be used in the Microsoft. NET SDK to use the command-line interface. If you need. NET language alternatives to face-to-face information, see this article.

What are you waiting for?
The C # language has emerged, thanks to the free SharpDevelop IDE, which makes it no cost to start developing C # code. The version used in this article is still a beta version, so focus on the site for a new release.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.