August 2007 Entries
C# 3.0, before and after.

Before (C# 2.0):
    public class Speech : EntityBase<Speech>
    {

        
private string _Body;
        public string 
Body
        {
            
get
            
{
                
return _Body;
            
}
            
set
            
{
                _Body 
= value;
            
}
        }

        
private string _ExtendedBody;
        public string 
ExtendedBody
        {
            
get
            
{
                
return _ExtendedBody;
            
}
            
set
            
{                
                _ExtendedBody 
= value;
            
}
        }


        
private User _User;
        public 
User User
        {
            
get
            
{
                
return _User;
            
}
            
set
            
{
                
_User = value;
            
}
        }

        
private SpeechTopic _Topic;
        public 
SpeechTopic Topic
        {
            
get
            
{
                
return _Topic;
            
}
            
set
            
{
                _Topic 
= value;
            
}
        }

    }
After (C# 3.0):

    
public class Speech : EntityBase<Speech>
    {       
        
public string Body {get; set;}
               

        
public string ExtendedBody {get; set;}
       

        
public User User {get; set;}
       

        
public SpeechTopic Topic {get; set;}
    }


Oh Visual Studio 2008, please hurry up.