Microsoft has designed C # languages for .NET framework, C # combines the advantages of other languages and become a powerful programming language. As a Java developer, I have a curious about C #, unfortunately, for Microsoft's development environment Visual Studio .NET, the price listed exceeds $ 1,000, which makes the problem obvious: I want to use this Language, but I can't afford it. Hiped, I found a free .NET development environment called SharpDevelop.
Get software copy
Chinese official website www.drcsharp.com
This software can be from
SHARPDevelop website downloads, it passes
GNU General Public License is available. Download content is a file that can quickly install SharPDevelop on the machine, and source code can also be obtained, in which we will use version 0.99. (I will release 0.99B version right away)
Installing SharpDevelop software requires Microsoft .NET SDK, SharpDevelop is located at the top of the .NET SDK to implement functionality. Microsoft recommends installing Internet Information Server (IIS) and ADO 2.7 before installation .NET SDK. Let's take a look at the characteristics of SharpDevelop in detail.
Ready to accept more content?
See these articles about the technical details of C # programming languages:
.NET encoding simplification
SharpDevelop is as simple as VB.NET and Java code, which makes C # development, IDE is scalable, so you can support other languages, even if we only pay attention to C #, IDE is completely written in C #.
The environment also simplifies engineering and document development. The project is a combination of source files, reference, and resource files, and the file is a single source file, and Figure A gives the profile of the SharpDevelop interface.
Figure a
SharpDevelop IDE
As you can see, IDE is divided into three grids, the main body is on the left, then the code grid, the output grid is on the right, the code makes you easily see the C # source file and related assembly files. The output grid shows the output generated by the code, and the other can be used to keep a task list.
The main body is divided into four tags: Projects, Classes, Files and Tools. The Projects tag shows current projects, and the engineering documents are visible in the Classes tab. As shown in Figure B, the output grid shows the result of the compilation sample class (no compilation error). The FILES tag provides access to the file system, and the Tools tab contains additional utilities.
Figure B
View the classes and compile results
Adapt to your style
One of the strengths of SharpDevelop is its flexibility, you can easily customize IDE and a single project to developer preferences. For example, set an Options window in the main Tools Drop-Down. This window allows you to set the language (see Figure C), font, external tool, and there are a lot of text programmer options.
Figure C
IDE OPTIONS: Selecting The Language
One of the functions of all developers in IDE is the code to complete - a pop-up method list and / or the available properties of the object in the primary code. The list will appear after you enter the object, signal mode, or attribute selection. Figure D shows a list of available in the System.Console object. If you are not interested in the code, you can turn it off in the Options window.
Figure D
Code Completion Feature
Let the code work for you
When you enter the code, you can use the Run menu to compile, Figure E shows the compilation option. Any construction error is displayed in the output grid, the construction of the project creates an executable (EXE) file for the application, this file is placed in the output path specified in the Project Options window, and Figure F is the output I specified to the test project. path. Figure E
SharpDevelop Compile Options
Figure f
Project Options: Output Path
You can also select the output type in the Project Options window, you can set it to Winexe, Library, or EXE. In my project, I chose EXE. File (EXE) can be easily performed from a command prompt or double-click the file in Windows Explorer.
Documentation
The SharpDevelop environment can also be generated in the document, and C # style comment helps the implementation of this process. Generate Documentation and HTML Export Options are available through the Project menu. And easily, the document is generated 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 the only replacement of Visual Studio .NET on the market, although it provides a flexible and easy-to-use environment, and you can't change the price of the product. Quick Searches on the Internet give some results, all replaces can use the command line interface with Microsoft .NET SDK. If you need an additional information of the .NET language substitute, see this article.
What are you waiting for?
C # language has appeared, but fortunately there is free SharpDevelop IDE, which makes it start to develop C # codes and do not pay any cost. The version used in this article is still a beta, so pay attention to the website to get the new release version.