CIL Programming

Under the Hood of .NET

By Jason Bock

  • eBook Price: $34.99
  • Print Book Price: $49.95
Buy eBook Buy Print Book

CIL Programming Cover Image

The Common Intermediate Language (CIL) is the core language of .NET. In this book, author Jason Bock offers an in-depth tutorial on programming in CIL.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-59059-041-6
  • 360 Pages
  • User Level: Beginner to Advanced
  • Publication Date: June 18, 2002
  • Available eBook Formats: PDF

Related Titles

  • Develop on Yammer
  • Extending SSIS with .NET Scripting
  • Predictive Analytics with Microsoft Azure Machine Learning 2nd Edition
  • Pro PowerShell for Database Developers
  • Xamarin Mobile Application Development
  • Pro XAML with C#
  • Machine Learning Projects for .NET Developers
  • Pro HTML5 with Visual Studio 2015
  • File Management Made Simple, Windows Edition
  • Expert SQL Server in-Memory OLTP
Full Description

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

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
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


Please Login to submit errata.

No errata are currently published


    1. Pro SQL Server Internals


      View Details

    2. Beginning 3D Game Development with Unity 4


      View Details

    3. Beginning iPhone Development with Swift


      View Details

    4. Financial Modeling for Business Owners and Entrepreneurs


      View Details