Browse by Tags

Tagged Content List
  • Blog Post: 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 Team Foundation Server Update 1 is also available today, which you can read about on Brian Harry...
  • Blog Post: Top News for September 2015

    Hello everyone! Every month we share some top stories from the previous month, and here’s our round-up for September. Open-source, cross-platform MSBuild : Continuing the open-source, cross-platform .NET story that is already well underway with .NET Core and the .NET Compiler Platform (“Roslyn”...
  • Blog Post: IntelliTest for .NET - Test More with Less (effort)

    Writing a suit of unit tests that exhaustively exercise and validate the logic of the code under test is not easy. It can even be considered too expensive to do at all. Fortunately, the IntelliTest feature shipping in the Visual Studio 2015 Enterprise Edition addresses both concerns: it helps you achieve...
  • Blog Post: 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 see a lot of “more information” links. Special thanks more
  • Blog Post: 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 more
  • Blog Post: 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 .Parameter( typeof ( int ), "value" ); ParameterExpression more
  • Blog Post: 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 than code written with LINQ to XML syntax. But there more
  • Blog Post: 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 dynamic and How to: Access Office Interop Objects by more
  • Blog Post: 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 expression. You can also convert expression trees into compiled more
  • Blog Post: 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 must satisfy certain requirements. Let’s take more
Page 1 of 1 (10 items)