Microsoft Blog Images
Browse by Tags
The C# Team
Server & Tools Blogs
Developer Tools Blogs
C# Frequently Asked Questions
Visual Studio Code
Line of Business Apps by Beth Massi
Setup & Install by Heath Stewart
Application Lifecycle Management
Team Foundation Server
Visual Studio Online
.NET Parallel Programming
ADO.NET (Managed Providers, DataSet & EF)
ASP.NET by Scott Hanselman
Apps for Windows
Office 365 Development
C# Frequently Asked Questions
The C# team posts answers to common questions and describes new language features
Search this blog
Search all blogs
Translate this page
New C# T-Shirt Designs on the .NET Blog - Tell Us What You Think
8 days ago
Anthony D. Green [MSFT]
Roslyn ships v1.0-rc2 with "Go-Live" license
28 days ago
A Journey Through Open Source: The Trials & Triumphs in Roslyn's First Year of Open Source
1 month ago
Edit & Continue and Make Object ID Improvements in CTP 6
3 months ago
Live Now on Developer Tools Blogs
.NET Framework 4
C# optional parameters
dynamic language runtime
Visual Studio 2010
Visual Studio Product Website
Visual Studio Developer Center
Tagged Content List
Get Ready For C# 4.0!
Visual Studio 2010 is here! And of course this means that C# 4.0 is also here. Let’s do a quick review of the new language features added in this release. Dynamic The dynamic keyword is a key feature of this release. It closes the gap between dynamic and statically-typed languages. Now you can...
12 Apr 2010
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...
25 Jan 2010
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 result = Expression .Parameter( typeof ( int...
19 Nov 2009
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 were some obvious flaws in that example: While...
19 Oct 2009
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 Using Visual C# 2010 Features . Well, where else...
30 Sep 2009
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 code and run it. This transformation enables...
14 Sep 2009
Page 1 of 1 (6 items)
© 2015 Microsoft Corporation.
Privacy & Cookies