Overview of C#

August 5, 2008 at 8:30 am (My Life, Programming)

The Common Language Infrastructure (CLI) is a specification submitted jointly by Microsoft, Intel, and Hewlett-Packard as an ECMA standard. The Common Language Runtime (CLR) is Microsoft’s implementation of the CLI.

The CLI is designed for strongly types languages and has 5 partitions. Partition 1 specifies the CLI foundation: the Common Type System (CTS), the Virtual Execution System (VES), and the Common Language Specification (CLS).

Compiling a C# program does not create a regular executable file. Instead it creates a program in Common Intermediate Language (CIL, specified in partition 3 of the ECMA standard). A compiled C# program also contains a block of metadata (data about the program itself) called a manifest (specified in partition 2). This metadata facilitates powerful reflection capabilities.

The VES translates the CIL into native executable code (which can be done just-in-time or at installation).

The Common Type System (CTS) is a set of types designed to allow language interoperability. All CTS types are either value types or reference types.

The Common Language Specification is a set of rules designed to allow language interoperability. For example, unsigned integer types are not in the CLS so your C# programs must not expose unsigned integers if you want them to be fully interoperable.

Taken from here

Itulah sedikit tentang C#,
walaupun ga ngerti,
tapi nyemgir aja..
Yang penting nambahin postingan..
Hehehehe..

Permalink Leave a Comment

Next page »