A A
RSS

Automatic Properties and VB

Sat, Jul 28, 2007

Random

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;
            
}
        }

 

Tags:

  • RefactorXNA
    VB.NET sucks.
  • Shimmy
    Public Property MyProperty As String

    lol
    im pissed off too
blog comments powered by Disqus
Advertise Here

What I'm Doing...

Yonkly Open Source

Sign up for my newsletter

powered by MailChimp!

Cyber Identity