The best game EVER

Note: This post may be subject to gross use of hyperbole. By far the best game in the history of man is: Fuel Pipe on Skype Skype has a bunch of built in games which you can play with the person to whom you are talking.  These games are good since they make it seem…

1

Useful LINQ Method- GetMemberTypeChain

Recently, I have been working on a custom LINQ provider in C#.  In a later post (when I have more time to write) I will go in depth into what I am worked on and what have I learned about writing a LINQ provider.  But for now I will present a simple function that simplified…

1

Understanding Variable Capturing in C#

With the addition of anonymous delegates in C# 2.0 and with lambda expressions in C# 3.0 you might have been hearing a lot about variable capturing.  This is the mechanism in which the delegate/lambda which was defined inline is able to hold on to any variables within its lexical scope.  For example in this code:…

2

Visualizing LINQ

I ran across an awesome code sample written by Jon Skeet.   He realized that many people may have difficulty understanding how the lazy evaluation in LINQ (and programming with iterator combinators in general) works.  His program/code sample is able make the lazy evaluation clear by animating it on the fly.  He intercepts each step in…

1

I was on DotNetRocks!!!

A couple week ago I had an interview with the DotNetRocks folks.  In this interview I discussed the MSDN Code Gallery and I also discuss ed my time as an intern at Microsoft.  It was really fun recording this and my interviewers Carl and Richard were very enjoyable to talk to. I hope you like…

2

FastSharp – Write it, Execute it

UPDATE: New version on FastSharp that includes a Windows 7 Gadget!  Learn more here. Last year I wrote this program which I named FastSharp.  It is a text editor which lets you compile and run C# code that would normally exist inside a method.  The inspiration for this came from getting tired of opening up Visual Studio…

7

Introducing MSDN Code Gallery

Today, the new site MSDN Code Gallery has launched.  This is the best place to find and share samples, tools and articles about development and programming.  Code Gallery is already being used by many teams here at Microsoft to post cool tools and samples to help you be more productive in your coding.  But the…

1

Emulating cmd.exe’s START command in Microsoft Powershell

I often browse through directories using the command line interface.  It is sometimes times faster and provides more information than using the GUI.  However, many times there are operations that are easier in the GUI.  This is why I always loved CMD.exe’s START command. The START COMMAND Starts a separate window to run a specified…

1

Best Internet Explorer Plug-in

There are many features which Opera and Firefox (through extensions) have that I can’t live without.  Features like advertisement blocking, mouse gestures and custom site JavaScript.  Internet Explorer doesn’t have these features but I found a plugin which adds all this functionality and more.  It is called IE7Pro and I feel it truly enhances the…

3