O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Compile Units, Namespaces, and Assemblies

This section brings the assembly into our discussion that so far has concentrated on compile units and namespaces. The following discussion is built around a few simple examples whose goal is to give you an idea of the many ways you can configure and structure your classes (and other types) and programs around these three important elements.

Before beginning, you might want to refresh your memory about some of the more theoretical assembly aspects by looking at the “The Assembly, the Basic Unit of Code Reuse in .NET” section in Chapter 2, “Your First C# Program.”

Compiling Several Compile Units into One Assembly

The routine of creating and running a program has so far consisted of the following steps: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required