---
title: "Common Type System (CTS)"  
description: "The common type system is a rich type system, built into the common language runtime that supports the types and operations found in most programming"  
author: "Amit Singh"  
published: 2010-10-07  
updated: 2014-09-18  
canonical: https://www.mindstick.com/blog/17/common-type-system-cts  
category: ".net"  
tags: [".net"]  
reading_time: 2 minutes  

---

# Common Type System (CTS)

The common type system is a rich type system, built into the [common language runtime](https://www.mindstick.com/articles/16/common-language-runtime) that supports the types and operations found in most [programming languages](https://www.mindstick.com/articles/12386/5-up-and-coming-programming-languages-to-know-about). The common type system supports the complete [implementation](https://www.mindstick.com/forum/33764/how-to-implementation-of-class-in-c-sharp) of a wide range of programming languages. CTS are a sub set of CLR. Interoperability features is achieved by CTS.

**CLS (Common Language [Specification](https://www.mindstick.com/news/369/specifications-of-redmi-note-10-series-leaked-before-the-official-launch)):** The Common Language Specification (CLS), which is the set of basic language features needed by much .Net [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) to fully interact with other object regardless of the language in which they were implemented. The CLS represents the guidelines defined by for the .Net Framework. The specification is normally used by the compiler [developers](https://www.mindstick.com/blog/302688/handling-errors-in-rust-a-comprehensive-guide-for-developers) and is available for all languages, which target the .Net Framework.

**JIT (Just In time):** A JIT compiler runs after the program has started and compiles the code (Usually [byte code](https://www.mindstick.com/interview/22775/what-is-byte-code-verifier) or some kind of VM instruction) on the fly (or just-in -time) into a form that’s usually faster, typically the host CPU’s native instruction set. A JIT has access to dynamic runtime information where as a standard compiler doesn’t and can make better optimizations like in lining function that are used frequently.

##### There are three types JIT

(1)Pre-JIT compiler: Compiles entire code into native code completely.

(2) Econo- JIT compiler: Compiles code part by part freeing when required.

(3) Normal –JIT compiler: Compiles only that part that part of code when called and places in cache.

**MSIL (Micro soft Intermediate Language):** Asp.net code in many different languages, such as VB, C#, J#, and others. When the code is compiled, it is translated into a language [independent](https://answers.mindstick.com/qa/98599/what-is-the-longest-river-in-the-commonwealth-of-independent-states) and CPU- specific instructions for the processor on the [computer running](https://answers.mindstick.com/qa/113100/why-is-my-computer-running-slower-than-usual) the application.

---

Original Source: https://www.mindstick.com/blog/17/common-type-system-cts

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
