Lecture overview -- Keyboard shortcut: 'u'  Source programs in previous lecture -- Keyboard shortcut: 'p'  Source programs in next lecture -- Keyboard shortcut: 'n'  Course home

Source Programs
Data Access, Properties, and Methods

The Note Context in the rightmost column is only shown in case an annotated program exists. - You can navigate to the annotated program via the annotated slide view (= 'the note context').

A Class C with a simple properties - getter and setter.c.csSlide context--
A client of class C.client.csSlide context--
A Class C with a simple properties - getter and setter.c.csSlide context--
A client of class C.client.csSlide context--
A BankAccount class with a trivial Balance property together with Deposit and Withdraw methods.bank-account-1.csSlide contextText book contextNote context
A BankAccount class with a Balance property - without a balance instance variable.accumulating-bank-account.csSlide contextText book contextNote context
A client program.accumulating-app.csSlide contextText book contextNote context
A BankAccount class with a disciplined Balance property.disciplined-bank-account.csSlide contextText book contextNote context
A client of the disciplined BankAccount.disciplined-app.csSlide contextText book contextNote context
Class Point with polar data representation.Point.csSlide contextText book contextNote context
Class BankAccount with two automatic properties.BankAccount.csSlide contextText book context-
An equivalent BankAccount class without automatic properties.BankAccount-equivalent.csSlide contextText book context-
A Client of class BankAccount.Client.csSlide contextText book context-
Class BankAccount - as short as possible.BankAccount.csSlide contextText book contextNote context
A client of the simple BankAccount with object initializers.Client.csSlide contextText book context-
An equivalent BankAccount class without object initializers.ClientEquivalent.csSlide contextText book context-
Class BankAccount - with two constructors.BankAccount.csSlide contextText book contextNote context
A client of class BankAccount with an object initializer.Client.csSlide contextText book contextNote context
An equivalent client of class BankAccount without object initializers.Client-equivalent.csSlide contextText book contextNote context
Class BankAccount and class Person.BankAccount.csSlide contextText book contextNote context
A client of class BankAccount with nested object initializers.Client.csSlide contextText book contextNote context
A Class A with an indexer.a.csSlide contextText book contextNote context
A client of A which uses the indexer of A.b.csSlide contextText book contextNote context
The class BitArray.bitarray.csSlide contextText book contextNote context
A client of class BitArray.client.csSlide contextText book contextNote context
The class A indexed by a string.a.csSlide contextText book context-
A client of A which uses the string indexing of A.b.csSlide contextText book context-
The class Person.person.csSlide context--
The class BankAccount - without owner.bank-account.csSlide context-Note context
The class PersonAccountPair.PersonAccountPair.csSlide context-Note context
The class Accounts - the associative array class.accounts.csSlide context-Note context
A client of Accounts.client.csSlide context-Note context
Local variables and instance variables - initialization and default values.init.csSlide contextText book contextNote context
The class Date and the method DayDifference with a value parameter.date.csSlide contextText book contextNote context
The class Person which calls DayDifference on dateOfBirth.person.csSlide contextText book contextNote context
A client of Person and Date which reveal the consequences.Client.csSlide contextText book contextNote context
The struct Date and the method DayDifference with a value parameter.date.csSlide contextText book contextNote context
The class Person which calls DayDifference on dateOfBirth.person.csSlide contextText book contextNote context
A client of Person and Date which reveal the consequences.Client.csSlide contextText book contextNote context
The class A with a Swap method.ex.csSlide contextText book contextNote context
The class A with a DoAdd method.ex.csSlide contextText book contextNote context
The class A with a DoAdd method - both out and params.ex.csSlide contextText book contextNote context
An integer sequence - use of params in constructor.intseq.csSlide contextText book context-
Motivation: A Client of Point without use of DistanceTo.Client-v1.csSlide contextText book context-
A Client of class Point which uses an extension method DistanceTo.Client.csSlide contextText book contextNote context
The static class PointExtensions.PointExtensions.csSlide contextText book contextNote context

Generated: Monday February 7, 2011, 12:14:58