Fix available for the VS 2010 context menu scrolling issue Sorry we didn’t fix the bug before RTM, but better late than never… Hopefully the fix works fine for everyone.


C# Syntax All-In-One file, attempt 3

OK, my dear readers, I’ve finally had a chance to incorporate your invaluable feedback (really, this is helpful to me in my work) from the previous two attempts to produce another iteration of the Most Complete C# Syntax Frankenstein Junkyard. Let’s see if we are still missing any syntax construct (that hits a new codepath…


Multiple variables in a using statement

Here’s a simple file copy program: using System;using System.IO; public class FileCopy{    private static void Main(string[] args)    {        if (args.Length != 2)        {            Console.WriteLine("Usage: filecopy <source> <destination>");            return;        }         Copy(args[0], args[1]);    }     private static void Copy(string source, string destination)    {        const int BufferSize = 64 * 1024;        using (FileStream input = File.OpenRead(source), output = File.OpenWrite(destination))        {            var buffer = new byte[BufferSize];           …


Free online function graphing with Silverlight

I see Jon Skeet has written a function graphing sample using DLR and Silverlight. It occurred to me that it would be very easy to create something like this using my Live Geometry framework. So here it is: One difference is that I didn’t use DLR and Python, but wrote my own hand-written recursive…