
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').
| The variables p1 and p2 refer to two points. | point-ex | Slide context | Text book context | - |
| Struct Point. | Point.cs | Slide context | Text book context | - |
| Struct Card. | PlayingCard.cs | Slide context | Text book context | - |
| A client of struct Card. | Client.cs | Slide context | Text book context | - |
| Fields in structs cannot have initializers. | structs1.cs | Slide context | Text book context | - |
| An explicit parameterless constructor is not allowed. | structs2.cs | Slide context | Text book context | - |
| Moving a point by mutation. | MoveClient.cs | Slide context | Text book context | - |
| The struct Point - mutable, where move returns a Point. | Point.cs | Slide context | Text book context | - |
| Application the struct Point - Cascaded moving. | Client.cs | Slide context | Text book context | - |
| The struct Point - immutable. | Point.cs | Slide context | Text book context | - |
| Application the struct Point - immutable. | Client.cs | Slide context | Text book context | - |
| A program that illustrates boxing and unboxing. | boxing.cs | Slide context | Text book context | - |
| An integer sequence with Min and Max operations - a naive attempt. | intseq-naive.cs | Slide context | Text book context | - |
| An integer sequence with Min and Max operations - with int?. | intseq.cs | Slide context | Text book context | - |
| A client of IntSequence. | app.cs | Slide context | Text book context | - |
| A single class in the anonymous default namespace. | ex.cs | Slide context | Text book context | - |
| Two namespaces and a nested namespace with classes. | ex.cs | Slide context | Text book context | - |
| A client of classes in different namespaces. | client.cs | Slide context | Text book context | - |
| An equivalent client of classes in different namespaces - no using clauses. | client-equiv.cs | Slide context | Text book context | - |
| Nested namespaces with classes. | ex.cs | Slide context | Text book context | - |
| Equivalent program with nested namespaces - no physical nesting. | ex-equiv.cs | Slide context | Text book context | - |
| A client of classes in nested namespaces. | client.cs | Slide context | Text book context | - |
| Part one of namespace Intro with the classes A and B. | f1.cs | Slide context | Text book context | - |
| Part two of namespace Intro with the class C. | f2.cs | Slide context | Text book context | - |
| A client class that uses the classes in namespace Intro. | client.cs | Slide context | Text book context | - |
| A template of a singleton class. | singleton.cs | Slide context | Text book context | - |
| A singleton Die class. | singleton-die.cs | Slide context | Text book context | - |
| Application of the singleton Die class. | dieApp.cs | Slide context | Text book context | - |
| A singleton Random class. | RandomSingleton.cs | Slide context | - | - |
| A Die class that uses singleton Random. | die.cs | Slide context | - | - |
| A Die application class. | dieApp.cs | Slide context | - | - |
| A clumsy attempt with two overloaded constructors. | Point-before.cs | Slide context | Text book context | - |
| A better solution with static factory methods. | Point-after.cs | Slide context | Text book context | - |
| A clumsy attempt with two overloaded constructors and an illegal constructor. | Interval-before.cs | Slide context | Text book context | - |
| A better solution with static factory methods. | Interval-after.cs | Slide context | Text book context | - |
| A Mutable Date class. | date.cs | Slide context | Text book context | Note context |
| A Person class that can return its private date of birth. | person.cs | Slide context | Text book context | Note context |
| A client of the Person which modifies the returned birth Date. | Client.cs | Slide context | Text book context | Note context |
Generated: Monday February 7, 2011, 12:14:07