Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Microsoft Visual C# 2005, pronounced C sharp, is a programming language designed for building a wide range of applications that run

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.

What's New in Visual C# 2005


73 out of 491 rated this helpful Rate this topic 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.

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.

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


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.

You might also like