Common Intermediate Language
Appearance
Common Intermediate Language (CIL) is a low-level programming language defined by the Common Language Infrastructure (CLI) specification and is used in both the .NET Framework and Mono. This Wikibook is meant to be both an introduction to CIL and a useful reference.
Contents
[edit | edit source]- Getting Started
- Writing and compiling a simple "Hello, World!" program.
Basics
[edit | edit source]- Basic Syntax
- The basic syntax of CIL.
- Variables
- Creating and using variables.
- Methods
- Declaring and calling methods.
- Exception Handling
- Catching and throwing errors.
Instructions
[edit | edit source]Classes and Objects
[edit | edit source]- Classes
- Visibility Modifiers
- Enumerations
- Interfaces
- Value Types
- Attributes
- Namespaces
- Inheritance
- More Modifiers
- Generics
- Garbage Collection and Object Lifetimes