*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.
*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.
See Designing and Viewing Classes and Types.
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.
See Object Test Bench.
ClickOnce Deployment
ClickOnce deployment allows you to publish Windows applications to a
Web server or network file share for simplified installation.
See ClickOnce Deployment.
Tools Support for Strong Named Assemblies
The Project Properties dialog box has been redesigned, and now
includes support for signing assemblies.
See Project Properties.
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
he 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.
*Debugging
New features, including Edit and Continue, have been added to aid the
C# developer.