New Features in Visual Studio 2010 IDE

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 might increase your productivity by simply reducing the number of keystrokes and eliminating repetitive typing. For example, now I can write code like this:

class Program
    static void Main(string[] args)
        var test = new SampleClass(firstParameter: "test", secondParameter: 0);
        test.FirstProperty = 1;
        test.SampleField = 2;
        int value = test.SomeMethod(100);

Click here to read full article ...