Visual Studio Blog

The official source of product insight from the Visual Studio Engineering Team

What is the difference between “dynamic” and “object” keywords?

Let’s take a quick look at the object keyword first. I’m not going to talk a lot about it because it’s been around since C# 1.0. This keyword is nothing more than a shortcut for System.Object, which is the root type in the C# class hierarchy. (However, as Eric Lippert pointed out in his blog post, not everything in C# derives...

What is the difference between “dynamic” and “object” keywords?

Let’s take a quick look at the object keyword first. I’m not going to talk a lot about it because it’s been around since C# 1.0. This keyword is nothing more than a shortcut for System.Object, which is the root type in the C# class hierarchy. (However, as Eric Lippert pointed out in his blog post, not everything in C# derives...

MSBuild Interview on CodeCast

I had the distinct pleasure to meet up with Ken Levy and talk about MSBuild. Ken is responsible for the CodeCast interviews at code magazine.The interview consists of an in-depth technical and scenario discussion on how and why to use MSBuild, both in Visual Studio 2008 and Visual Studio 2010.  We also discussed new ...

Tips and Tricks: Ctrl+E to Search in New Project Dialog and Extension Manager

Here’s a quick tip of the day for anyone who wants to quickly use the new search feature of the New Project Dialog and the Extension Manager.  You can press Ctrl+E to quickly set focus to the search box.  Did you know that this same keyboard shortcut also works in Windows Explorer, IE and other applications?  Give it a shot...

Using the VSIX Manifest Editor

In Visual Studio 2010, we provide a new way of packaging and deploying extensions known as a VSIX. Several project templates in Visual Studio generate VSIX files (from the most basic, VSIX Project, the MEF editor extensions and Visual Studio Packages). The VSIX itself is a simple zip file (using the Open Packaging Convention) containing some ...
Comments are closed.0 0

How to read/write the new Visual C++ project properties

Visual C++ 2010 introduces several new project and tool properties, and deprecates some old ones.  If you’re writing a project template or Visual Studio extension that needs to programmatically read and write the new properties, you will find that these properties are not available on the standard VCConfiguration, VCCLCompilerTool, etc...

Searching and Navigating Code in Visual Studio 2010

Every developer knows that navigating code is vital to happy and productive coding. We’ve added several new features for code search and navigation in Visual Studio 2010, including Navigate To and an improved Call Hierarchy, to complement search staples like the Find and Replace dialog and Incremental Search. With such a wide variety of ...

Tips and Tricks: Zooming in the VS 2010 Editor

You probably know that Visual Studio has an option to change your text size, but did you know you can also zoom the editor in VS 2010?  Ctrl+mouse wheel zooming has been available since the first Visual Studio 2010 CTP, but we’ve finished it by adding a zoom control and key bindings in Beta 2.  Check out this video we’ve created to ...

Getting Information About Objects, Types, and Members with Expression Trees

Starting with C# 3.0 and Visual Studio 2008, you can use expression trees to get information about objects, types, and members. In this post I’m going to show some examples and explain what benefits you can get by using this technique. If you are not familiar with expression trees, I would recommend reading Charlie Calvert’s blog ...

Product registration for the About Box in Visual Studio 2010 and the deprecation of IVsInstalledProduct interface

In this article I’ll talk about the information that needs to be specified by a product integrating with Visual Studio to make that product appear in the About box dialog, and the changes to these settings for Visual Studio 2010. You are probably familiar by now with the layout of the Visual Studio’s About Box dialog. Beside listing&...
Comments are closed.0 0
C#

Feedback usabilla icon