CIL Programming: Under the Hood of .NET

CIL Programming: Under the Hood of .NET
Authors
Jason Bock
ISBN
1590590414
Published
16 Jun 2002
Purchase online
amazon.com

The Common Intermediate Language (CIL) is the core language of .NET. Although .NET developers often use a high-level language (such as C# or VB .NET) to develop their systems, they can use CIL to do anything allowed by.NET specifications&emdash;which is not the case for C# and VB .NET. Understanding how CIL works will provide you with a deep, language-independent insight into the core parts of .NET. This knowledge is essential for creating dynamic types, a powerful part of the .NET Framework.

Editorial Reviews

The Common Intermediate Language (CIL) is the core language of .NET. Although .NET developers often use a high-level language (such as C# or VB .NET) to develop their systems, they can use CIL to do anything allowed by.NET specificationswhich is not the case for C# and VB .NET. Understanding how CIL works will provide you with a deep, language-independent insight into the core parts of .NET. This knowledge is essential for creating dynamic types, a powerful part of the .NET Framework.

In CIL Programming: Under the Hood of .NET, Jason Bock offers an in-depth tutorial on programming in CIL. First, Bock discusses the basics of .NET assemblies and manifests. He then shows how to create assemblies in .NETincluding the ilasm directives and CIL opcodes, and how these are used to define assemblies, classes, field, methods, and method definitions. Bock also covers the ways in which C#, VB .NET, and other non-Microsoft languages emit CIL, and how they differ. Finally, he reveals how developers can create dynamic assemblies at runtime via the Emitter classes.

After reading this guide, you will gain a better understanding of CIL and how to program directly into it. CIL Programming: Under the Hood of .NET is a must-have on every .NET developer's desk!

Table of Contents

  1. Language Interoperability
  2. ilasm Directives and Attributes
  3. CIL Opcodes
  4. ilasm and CIL in Practice
  5. Debugging CIL
  6. .NET Languages and CIL
  7. Emitting Types
  8. Dynamic Proxies in .NET
  9. CIL Tips

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Every language has an optimization operator. In C++ that operator is ‘//’”