Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Daniel Solis - Illustrated C# 2010 - 2010.pdf
Скачиваний:
16
Добавлен:
11.06.2015
Размер:
11.23 Mб
Скачать

CHAPTER 1 C# AND THE .NET FRAMEWORK

Compiling to the Common Intermediate Language

The compiler for a .NET language takes a source code file and produces an output file called an assembly. Figure 1-3 illustrates the process.

An assembly is either an executable or a DLL.

The code in an assembly isn’t native machine code but an intermediate language called the

Common Intermediate Language (CIL).

An assembly, among other things, contains the following items:

The program’s CIL

Metadata about the types used in the program

Metadata about references to other assemblies

Figure 1-3. The compilation process

The acronym for the intermediate language has changed over time, and different references use different terms. Two other terms for the CIL that you might encounter are Intermediate Language (IL) and Microsoft Intermediate Language (MSIL). These terms were frequently used during .NET’s initial development and early documentation.

7

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]