Geeks With Blogs

News

Len Smith's Facebook profile


nIgnuSharp.NET //len smith is a software developer in ann arbor, mi

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. Posted on Monday, August 6, 2007 2:24 PM | Back to top


Comments on this post: C# 3.0, before and after.

# re: C# 3.0, before and after.
Requesting Gravatar...
Definitely, the post is actually the freshest on this worthw hile theme. I come to an agreement with each of your findings and will desperately look forward to your future updates. Saying thankx is not going to just be enough, for the phenomenal clarity in your article. I will instantly get your feed to stay privy of any updates. Genuine work and much success in your business endeavors. Thanks a lot, !
Left by board games on Mar 27, 2010 4:45 PM

Your comment:
 (will show your gravatar)


Copyright © Len Smith | Powered by: GeeksWithBlogs.net