C# FAQ 2.2 - What Are Some of the Different C# Editors Available?

Once you have installed a C# compiler as mentioned in C# FAQ 2.1, the next process is to choose an editor to enter source codes. There are different types of editors such as Notepad, Visual C# .NET, Borland's C# Builder, and SharpDevelop. This FAQ briefly discusses each of these editors.

Notepad

Notepad is an editor that many programmers commonly use. It comes with Windows and it is very easy to use. But, there are lots of disadvantages with this editor; for example, it doesn't support syntax coloring and other features such as IntelliSense. Moreover, you cannot directly compile and execute a C# program from within the editor. Although it doesn't support features such as line numbering, you can jump to a specific line of the code by using the CTRL+G shortcut.

What do you mean by IntelliSense?

IntelliSense refers to the popping up of methods and properties according to the context. For instance, if you enter Console followed by a dot, a menu automatically pops up; it gives you all the methods and properties of the Console class. This feature is readily available in development tools such as Microsoft Visual C# .NET and third-party editors such as Borland's C# Builder.

Microsoft Visual C# .NET

Visual C# .NET is a full-featured development tool that can be accessed from within the Visual Studio .NET Integrated Development Environment (IDE). Other than C#, the Visual Studio IDE supports the development of major .NET languages such as Visual Basic .NET, Visual J# .NET, and Visual C++ .NET. In other words, it provides a single development environment for all these languages. You need to master the various elements found on the IDE—such as the Toolbox and the Properties window—apart from learning the C# language.

Can I get Visual C# .NET as a separate product?

Yes. Microsoft sells a standard version of the product named "Visual C# .NET Standard Edition" at a reduced price. It comes with four CDs along with a printed manual. This product doesn't support advanced features such as Crystal Reports, which is available with Visual Studio .NET. This product is indeed a big boon for developers with limited budget.

Visual C# .NET provides you with the required templates and wizards for building applications. It also supports features such as IntelliSense and Dynamic Help. Dynamic Help is a new functionality that will provide you help according to the relevant situation while developing a project. It will be available only if you have installed the MSDN Library collection. Moreover, it ships with powerful debugging capabilities and automatic syntax/clause completion features. For instance, if you enter the keyword "try", remaining clauses such as catch and finally will be listed automatically on the code editor.

Where can I get the MSDN Library?

The MSDN Library ships with all editions of Visual Studio .NET, including Visual C# Standard Edition. You will be prompted to install the library after the successful installation of Visual Studio .NET. You will get periodic updates of the library if you have subscribed to MSDN. Alternatively, you can access the library online at http://msdn.microsoft.com/library/default.asp.

The biggest advantage of using Visual C# .NET is that it significantly reduces the development time of projects by integrating all parts of a project under a single roof. Even though there are lots of benefits, Visual C# .NET is not compulsorily required for programming with C#.

Third-Party Editors

In addition to the above mentioned editors, many third-party vendors have also released editors for programming with C#. In most cases, versions can be downloaded from the Web sites of the respective vendors.

SharpDevelop

One of the most popular editors is SharpDevelop. It supports syntax coloring and compilation and execution from within the development environment. With the help of this editor, you also can build Visual Basic .NET User controls and Web Services applications. You also can create XML and XSL files.

The developers of SharpDevelop have provided the complete source code for this editor under an Open Source License Agreement. The product and its source code can be downloaded from www.isharpdevelop.com.

Antechinus

Another editor is the Antechinus C# editor, developed by c-point.com, but it is not as popular due to its limited capabilities. You can download it from http://www.c-point.com/csharp.htm.

Others

Some of the other popular editors are Borland C#Builder (http://www.borland.com/csharpbuilder), CodeWright (http://www.borland.com/codewright), and EditPlus (www.editplus.com). C#Builder is an independent development tool developed by Borland. You will learn more about C#Builder in a later FAQ. Codewright is an editing tool used in combination with Microsoft's Visual Studio .NET.

Even though there are many editors available on the market, it's up to you to decide which editor to use. I strongly recommend you to install one editor and learn the language completely.



About the Author

Anand Narayanaswamy

Anand Narayanaswamy (Microsoft MVP) is a freelance writer for Developer.com and Codeguru.com. He works as an independent consultant and runs NetAns Technologies (http://www.netans.com)which provides affordable web hosting services. He is the author of Community Server Quickly (http://www.packtpub.com/community-server/book). Anand also runs LearnXpress.com (http://www.learnXpress.com) and Dotnetalbum.com (http://www.dotnetalbum.com) and regularly contributes product and book reviews for various websites. He can be reached at ananddotnet@yahoo.co.in

Comments

  • SharpDevelop

    Posted by AHungry_Mind on 05/17/2005 02:45am

    I think best of them is Borland c#.Sometimes it is hard to give up the old habits ;)

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • For many organizations, moving enterprise applications to the public cloud can be a very attractive proposition, but planning the best way to move your applications is mission–critical. As an alternative to the costly option of re–architecting the application for a cloud environment, you can follow a "lift and shift" model that's significantly cheaper and almost always a lot quicker. In order to have a successful "lift and shift" migration, read this white paper to learn a few rules you should …

  • The open source cloud computing project OpenStack has come a long way since NASA and Rackspace launched it in 2010. Backed by leading technology infrastructure providers including Cisco, Dell, EMC, HP, IBM, Intel, and VMware, OpenStack underpins significant workloads at an increasingly diverse set of organizations, including BWM, CERN, Comcast, eBay, and Wal-Mart. For CIOs engaged in broader programs to win, serve, and retain customers -- and refocus business technology (BT) spend -- a planned and pragmatic …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date