Navigate to list of lectures -- Keyboard shortcut: 'u'  Previous lecture -- Keyboard shortcut: 'p'  Next lecture -- Keyboard shortcut: 'n'  Course home        Alphabetic index  Exit possible frame set        First slide  First annotated slide  Lecture notes - all slides and notes together  Textbook of this lecture      PDF print page        Help page about these notes
Lecture 4

LECTURE 4:
Reference types, Value types, and Patterns

Kurt Nørmark ©
Department of Computer Science, Aalborg University, Denmark

Title page            Abstract            References from this lecture            Exercises in this lecture            Source programs in this lecture            

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 1Reference TypesPage 16Nullable types
Page 2Reference TypesPage 17Organization of C# Programs
Page 3Illustration of variables of reference typesPage 18Program Organization
Page 4Overview of reference types in C#Page 19Examples of Program Organization
Page 5Comparing and copying objects via referencesPage 20Namespaces and Visibility
Page 6Equality in C#Page 21Namespaces and Assemblies
Page 7Value TypesPage 22Patterns and Techniques
Page 8Value typesPage 23Design Patterns
Page 9Illustration of variables of value typesPage 24Object-oriented Design Patterns
Page 10Structs in C#Page 25The Singleton pattern
Page 11Structs and InitializationPage 26A Singleton Random Class
Page 12Structs versus classesPage 27Factory methods
Page 13Examples of mutable structs in C#Page 28Examples of Static Factory Methods
Page 14Examples of immutable structs in C#Page 29Privacy Leaks
Page 15Boxing and Unboxing

LENO - LEcture NOtes with LAML technologyGenerated: Monday February 7, 2011, 12:14:05
Program Oriented Web Engineering - using LAML