| Data Access, Properties, and Methods - slide 11 : 29 |
modifiers return-type property-name{
get {body-of-get}
set {body-of-set}
}A C# property will often have the same name as a private data member
The name of the property is capitalized - the name of the data member is not


![Next page: Indexers [Section] -- Keyboard shortcut: 'n' Next page: Indexers [Section] -- Keyboard shortcut: 'n'](./images/nav-right.gif)





