DCSIMG
Automatic properties in Visual Studio "Orcas" - Ido Samuelson's blog

Automatic properties in Visual Studio "Orcas"

While working on "Orcas" and checking the new DWM API in Windows Vista I found out that you can write something like this:

public class Sample

{

    public string Guid

    {

        get;

        set;

    }

}

 

This code will simply generates to :

Published Friday, March 09, 2007 8:27 PM by Ido Samuelson

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: