CONTENTS
CTS Structure Types ............................................................................................................................... 16
CTS Enumeration Types.......................................................................................................................... 17
CTS Delegate Types................................................................................................................................ 17
CTS Type Members................................................................................................................................. 17
Intrinsic CTS Data Types......................................................................................................................... 18
Understanding the Common Language Specification......................................................19
Ensuring CLS Compliance....................................................................................................................... 20
Understanding the Common Language Runtime .............................................................21
The Assembly/Namespace/Type Distinction ...................................................................22
The Role of the Microsoft Root Namespace ........................................................................................... 25
Accessing a Namespace Programmatically ........................................................................................... 26
Referencing External Assemblies........................................................................................................... 27
Exploring an Assembly Using ildasm.exe ........................................................................28
Viewing CIL Code.................................................................................................................................... 29
Viewing Type Metadata ........................ .................................................................................................. 30
Viewing Assembly Metadata (a.k.a. the Manifest) ................................................................................. 31
The Platform-Independent Nature of .NET.......................................................................31
A Brief Word Regarding Windows 8 Applications ............................................................33
Building Windows 8 Applications ........................................................................................................... 34
The Role of .NET Under Windows 8 ........................................................................................................ 35
Summary .........................................................................................................................37
Chapter 2: Building C# Applications .....................................................................39
The Role of the .NET Framework 4.5 SDK .......................................................................39
The Developer Command Prompt........................................................................................................... 40
Building C# Applications Using csc.exe...........................................................................40
Specifying Input and Output Targets ...................................................................................................... 41
Referencing External Assemblies........................................................................................................... 43
vii