Chapter 15. NAMESPACES, COMPILATION UNITS, AND ASSEMBLIES

You will learn about the following in this chapter:

  • How to define and use namespaces

  • How namespaces relate to compilation units and assemblies

  • The using directive

  • How to split compilation units up into smaller compilation units without changing the overall semantics

  • Important compiler commands that allow you to

    • Create DLL and EXE assemblies

    • Control the name of a new assembly

    • Include namespaces from other assemblies in your own programs

  • The intermediate language disassembling utility called Ildasm

Chapter 4, “A Guided Tour through C#: Part II,” introduced you to the idea of using namespaces to organize classes in hierarchies of class containers and thereby keep the classes neatly ordered and easily ...

Get C# Primer Plus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.