Lecture overview -- Keyboard shortcut: 'u'  Previous page: Program Organization -- Keyboard shortcut: 'p'  Next page: Namespaces and Visibility -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 19 : 29
Object-oriented Programming in C#
Reference types, Value types, and Patterns
Examples of Program Organization

/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/1/ex.csA single class in the anonymous default namespace.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/1/compilationCompilation of a single class in the anonymous default namespace.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/2/ex.csTwo namespaces and a nested namespace with classes.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/2/client.csA client of classes in different namespaces.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/2/client-equiv.csAn equivalent client of classes in different namespaces - no using clauses.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/2/compilationCompilation of the namespaces and client.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/4/ex.csNested namespaces with classes.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/4/ex-equiv.csEquivalent program with nested namespaces - no physical nesting.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/4/client.csA client of classes in nested namespaces.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/4/compilationCompilation of the namespaces and client.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/3/f1.csPart one of namespace Intro with the classes A and B.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/3/f2.csPart two of namespace Intro with the class C.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/3/client.csA client class that uses the classes in namespace Intro.


/user/normark/oop-csharp-1/sources/c-sharp/introductory-examples/program-organization/3/compilationPossible compilation of namespace Intro and class Client.