In the past we declared properties like this:
public class MyClass
{
private int _age;
public int Age
{
get{ return _age; }
The aim of the new automatic properties is to reduce the amount of boilerplate code you need to write when you just have a simple property that doesn't need any special logic in the get or the set.
If you want to access the private member that these properties use, that's usually for a few reasons:
You only want to have public read access (i.e. just a 'get') and the class write to the member directly - in this case, you can use a private set in your automatic property. i.e.
public class MyClass
{
public int Age {get; private set;}
}This usually covers most the reasons for wanting to directly get to the backing field used by the automatic properties.