Browse by Tags

Tagged Content List
  • Blog Post: Start Coding for the Kinect

    by Alan Berman I'm intrigued by all the interesting industry apps being developed for the Kinect. I started wondering how easy it is to start programming the Kinect using Visual Studio on a PC. It is very easy to get started, especially since the Kinect SDK has sample applications with sample code...
  • Blog Post: Converting a VBA Macro to C# 4.0

    I've talked a lot about improved COM interop in C# 4.0 and how much easier it is now to work with Office applications. This time I want to share some tips and tricks on how you can convert Visual Basic for Applications (VBA) macros to C# 4.0 by using Office 2010 and Visual Studio 2010. You can either...
  • Blog Post: C# 4.0 PowerPoint Presentations

    Alexandru Ghiondea from the C# team created an excellent deck of slides that he used at Microsoft Days 2010 in Bulgaria. The C# team reused the deck several times for User Groups' presentations and talks. If you are planning a talk at your User Group, feel free to download. And even if you are not, it’s...
  • Blog Post: New IDE Features in Visual Studio 2010 for C# Developers

    After a quick review of C# language features , let’s do the same for the IDE improvements. So, what’s in there for C# developers? Generate From Usage This feature greatly improves Visual Studio support for test-driven development (TDD) . However, it is useful even if you don’t use TDD at all. It...
  • Blog Post: 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...
  • Blog Post: Crystal Reports for Visual Studio 2010

    Crystal Reports has been a part of Visual Basic since 1993, and a part of Visual Studio since its first release in 2002. Crystal Reports has been a very successful component of these products. With the release of Visual Studio 2010, SAP and Microsoft have mutually decided to change how we deliver this...
  • 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 result = Expression .Parameter( typeof ( int...
  • 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 were some obvious flaws in that example: While...
  • 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 Using Visual C# 2010 Features . Well, where else...
  • 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 code and run it. This transformation enables...
Page 1 of 1 (10 items)