Professional Documents
Culture Documents
What's New in Visual C# 2005: Rate This Topic
What's New in Visual C# 2005: Rate This Topic
on the .NET Framework. C# is simple, powerful, type-safe, and object-oriented. With its many innovations, C# enables rapid application development while retaining the expressiveness and elegance of C-style languages. Visual Studio supports Visual C# with a full-featured Code Editor, project templates, designers, code wizards, a powerful and easy-to-use debugger, and other tools. The .NET Framework class library provides access to a wide range of operating system services and other useful, welldesigned classes that speed up the development cycle significantly.
Language and Compiler Code Editor Development Environment Documentation and Language Specification Debugging
Code Editor
The Code Editor contains the following new features for Visual C# 2005.
Code Snippets
Code Snippets speed the entry of common code constructs by providing a template you can fill out. Snippets are stored as XML files that can be easily edited and customized.
Code Snippets (C#) How to: Use Code Snippets (C#) How to: Use Surround-with Code Snippets
Refactoring
Refactoring tools can automatically restructure your source code, for example, by promoting local variables to parameters or converting a block of code into a method.
How to: Promote Local Variable to Parameter Extract Method Encapsulate Field Extract Interface Rename Remove Parameters Reorder Parameters
Development Environment
The development environment includes the following enhancements for Visual C# 2005.
IntelliSense
IntelliSense has been enhanced with the following new features:
The completion list for List Members automatically appears when you backspace the cursor to a scope operator that precedes an object, or when you undo the completion action. When you write error handling code, List Members helps you discover which exception to catch by filtering irrelevant members from the completion list in a catch clause. When you need to insert standardized code, Automatic Code Generation now allows you to prompt IntelliSense to insert the code for you. IntelliSense is available when authoring Web applications.
Class Designer
The Class Designer is a new editor that graphically displays classes and types, and allows methods to be added or modified. It is also possible to use refactoring tools from the Class Designer window.
ClickOnce Deployment
ClickOnce deployment allows you to publish Windows applications to a Web server or network file share for simplified installation.
Code Wizards
The following code wizards are now obsolete: