The Role of the Common Intermediate Language
Let’s examine CIL code, type metadata, and the assembly manifest in a bit more detail. CIL is a lan-
guage that sits above any particular platform-specific instruction set. For example, the following C#
code models a trivial calculator. Don’t concern yourself with the exact syntax for now, but do notice
the format of the Add() method in the Calc class:
// Calc.cs
using System;
namespace CalculatorExample
{
Do'stlaringiz bilan baham: