Automatic Properties and VB

I am PISSED…  Why doesn’t VB 9 have automatic properties???  VB has always been about simplicity and speed of coding.  How can you give that feature to C# on VB…  😦

If you don’t know what I am talking about automatic properties in C#, let’s you do this:

        public string FirstName {
            
get; set;
        
}

Instead of this:

        private string _firstName;
       
 
        public string 
FirstName {

            get {
                
return _firstName;
            
}
            
set {
                _firstName 
= value;
            
}
        }

 

Advertisements

0 thoughts on “Automatic Properties and VB

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s