Export (0) Print
Expand All
77 out of 497 rated this helpful - Rate this topic

What's New in Visual C# 2005 

Visual Studio 2005

Microsoft Visual C# 2005 includes new features in the following areas:

  • Language and Compiler

  • Code Editor

  • Development Environment

  • Documentation and Language Specification

  • Debugging

Language and Compiler

The C# language now supports generic types, iterators, and partial types. The latest version of the C# compiler also includes new features and options. For more information, see What's New in the C# 2.0 Language and Compiler.

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.

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.

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.

Object Test Bench

The Object Test Bench is designed for simple object-level testing. It allows you to create an instance of an object, and call its methods.

ClickOnce Deployment

ClickOnce deployment allows you to publish Windows applications to a Web server or network file share for simplified installation.

Tools Support for Strong Named Assemblies

The Project Properties dialog box has been redesigned, and now includes support for signing assemblies.

Code Wizards

The following code wizards are now obsolete:

  • C# Method Wizard

  • C# Property Wizard

  • C# Field Wizard

  • C# Indexer Wizard

Documentation and Language Specification

The C# reference documentation has been extensively rewritten to provide more complete information for common as well as advanced usage questions that developers might encounter while creating applications in C#.

The C# Language Specification is no longer integrated into the Help environment, but is provided in two .doc files. These files are installed by default under \\Microsoft Visual Studio 8\vcsharp\specifications\1033\. The most up-to-date versions can be downloaded from the C# Developer Center on MSDN. For more information, see C# Language Specification.

C# Specific Debugging Enhancements

New features, including Edit and Continue, have been added to aid the C# developer.

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.