Quantcast
Channel: Visual Studio Blog
Browsing all 440 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to use LINQ methods to compare objects of custom types

LINQ provides a convenient syntax and many useful methods for operating with collections of objects. However, to be correctly processed by LINQ comparison methods such as Distinct or Intersect , a type...

View Article


Image may be NSFW.
Clik here to view.

Generating Dynamic Methods with Expression Trees in Visual Studio 2010

Expression trees first appeared in Visual Studio 2008, where they were mainly used by LINQ providers. You can use expression trees to represent code in a tree-like format, where each node is an...

View Article


Image may be NSFW.
Clik here to view.

Dynamic in C# 4.0: Introducing the ExpandoObject

You have probably already heard about the new dynamic feature in C# 4.0 and how it is used to support COM interop. If you haven't, I strongly recommend reading the following MSDN articles: Using Type...

View Article

Image may be NSFW.
Clik here to view.

Dynamic in C# 4.0: Creating Wrappers with DynamicObject

In the previous post I showed how you can use the new dynamic feature and the ExpandoObject class to add and remove properties at run time, and how this can make your code more readable and flexible...

View Article

Image may be NSFW.
Clik here to view.

Debugging Expression Trees in Visual Studio 2010

First of all, let’s take a look at the example from one of my previous posts . It creates an expression tree for calculating the factorial of a number. ParameterExpression value = Expression...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

Covariance and Contravariance FAQ

In this post I’ll try to answer the most common questions I find on forums and in documentation feedback about C# covariance and contravariance. It’s a big topic for a single blog post, so expect to...

View Article


Image may be NSFW.
Clik here to view.

Introducing the Microsoft “Roslyn” CTP

Today we are releasing the first Community Technology Preview of the Roslyn Project!What is Roslyn?In the past, our compilers have acted as black boxes – you put source text in and out the other end...

View Article


Image may be NSFW.
Clik here to view.

Roslyn Syntax Visualizers

Hello everyone! As you may have heard, today we announced the first CTP of the Roslyn project! You can visit the Roslyn MSDN Page to learn more about the project and to download the CTP. You can also...

View Article

Image may be NSFW.
Clik here to view.

The C# and Visual Basic Code-Focused IDE Experience

The new C# and Visual Basic code-focused IDE experience in the Visual Studio 2015 Preview is significantly improved over the experience in Visual Studio 2013 and I’m excited to share some highlights...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Update 1 RTM

Today we’re releasing Visual Studio 2015 Update 1. Let me be the first to thank everyone who installed these earlier releases, provided feedback, and helped us iron out the kinks. [The final release of...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Update 1 RTM

Today we’re releasing Visual Studio 2015 Update 1. Let me be the first to thank everyone who installed these earlier releases, provided feedback, and helped us iron out the kinks. [The final release of...

View Article


Image may be NSFW.
Clik here to view.

Connect(“demos”); // 2015: HealthClinic.biz

During Connect(); //2015 we showcased many technologies available to you as a developer across Azure, Office, Windows, Visual Studio and Visual Studio Team Services. We’ve also heard from you that you...

View Article

Image may be NSFW.
Clik here to view.

The .NET Journey: Recapping the last year

Having just completed Connect(); // 2015, we thought to take a moment to review everything that’s happened with .NET over the last year, between last year’s and this year’s Connect();. And what a year...

View Article


Image may be NSFW.
Clik here to view.

Installing the Unreal Engine in Visual Studio

As previously announced, Visual Studio has partnered with some of the most popular game engines to bring you an easy acquisition experience for game development tools.  Today we are pleased to confirm...

View Article

Image may be NSFW.
Clik here to view.

Unit Testing Apache Cordova Apps with Visual Studio, Part 1

See Part 2 of this series. Great apps—like great artists, actors, and athletes—are great performers. Human beings validate and continually improve their performances through extensive training,...

View Article


Image may be NSFW.
Clik here to view.

Unit Testing Apache Cordova Apps with Visual Studio, Part 2

Part 1 of this post provided some background on unit testing with a basic example in Visual Studio for an app written with Apache Cordova. In this post we’ll make many improvements to that example...

View Article

Image may be NSFW.
Clik here to view.

Visual Studio Tools for Apache Cordova Update 5

Welcome to the new year and a new Visual Studio Tools for Apache Cordova (TACO) update! We just released Update 5 of the tools for you—full details are in the release notes—and we’ve created a new...

View Article

Image may be NSFW.
Clik here to view.

Top News from October-December 2015, Part 1

It’s been a few months since our last roll-up of top developer stories, so I’ll be catching up with the news from last fall in two posts. We’ll start here in Part 1 with Visual Studio, .NET, ASP.NET,...

View Article
Browsing all 440 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>