Lecture overview -- Keyboard shortcut: 'u'  Previous page: Properties: Class Point with polar coordinates -- Keyboard shortcut: 'p'  Next page: Object Initialization via Properties -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Alphabetic index  Help page about these notes  Course home    Data Access, Properties, and Methods - slide 9 : 29

Automatic Properties
In C# 3.0 it is possible to automatize the definition of trivial getter and setter properties
BankAccount.cs
Class BankAccount with two automatic properties.
BankAccount-equivalent.cs
An equivalent BankAccount class without automatic properties.
Client.cs
A Client of class BankAccount.
output
Output from the Client program.
Automatic properties contribute to a C# 3.0 convenience layer on top of already existing means of expressions.