Ok, so I know this is a odd question but I am stumped.
Normally when I have a private instance level variable that is exposed via a property I format my class file as such.
{
..... all instance variables
..... any constructors
..... any public/private/protected methods
..... any properties
}
Now that we have Automatic Properties, there is no need for instance level variables. So, do I put the property where I would have put the instance level variable? Or do I put the property where I would normally put it?
I am leaning towards putting the Automatic Property where I would have normally put my properties. Why, well because if I need to change it from an Automatic Property to a 'standard' property I will not have to move it in my class file (btw, I am anal with my class file organization).
So, I am asking. Where do they go?
Till next time,
Posted
02-02-2008 8:37 PM
by
Derik Whittaker