| Lecture 5 |
LECTURE 5: Data Access, Properties, and Methods Kurt Nørmark © |
A complete PDF version of the text book is now available. The PDF version is an almost complete subset of the HTML version (where only a few, long program listings have been removed). See here. |
Page 1 | Accessing Data in Objects | Page 16 | Summary of indexers in C# | |
Page 2 | Indirect data access | Page 17 | Methods | |
Page 3 | Overview of data access in C# | Page 18 | Methods in C# | |
Page 4 | Properties | Page 19 | Local variables in methods | |
Page 5 | Properties - Basic Use | Page 20 | Parameters | |
Page 6 | Properties - Tricky Use | Page 21 | Value Parameters | |
Page 7 | Properties in C# | Page 22 | Passing references as value parameters | |
Page 8 | Properties: Class Point with polar coordinates | Page 23 | Passing structs as value parameters | |
Page 9 | Automatic Properties | Page 24 | Reference Parameters | |
Page 10 | Object Initialization via Properties | Page 25 | Output Parameters | |
Page 11 | Summary of properties in C# | Page 26 | Use of ref and out parameters in OOP | |
Page 12 | Indexers | Page 27 | Parameter Arrays | |
Page 13 | Indexers in C# | Page 28 | Extension Methods | |
Page 14 | Associative Arrays | Page 29 | Methods versus Properties versus Indexers | |
Page 15 | Example of associating Person with BankAccount |
Generated: Monday February 7, 2011, 12:14:55 |