answersLogoWhite

0

The Common Type System (CTS) defines how types are declared, used, and managed in the runtime. It is an important for Language Interoperability.

The CTS performs the following functions:

l Establishes a common framework that enables cross-language integration, type safety, and high performance code execution.

l Provides an object-oriented model.

l Defines rules that languages must follow, so that different languages can interact with each

other.

Classification of types

The CTS supports two categories:

1. Value types

2. Reference types

The following diagram illustrates type classification described in above paragraphs.

Figure 1.11 : Type Classification

Value types directly stores data in the variable. Value types can be built-in type, user-defined types, or enumerations.

Reference types store a reference to the data's memory address. Reference types can be selfdescribing types, pointer types, or interface types. Self-describing types are further split into arrays and class types. The class types are user-defined classes, boxed value types, and delegates.

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach

Add your answer:

Earn +20 pts
Q: What is the function of CTS?
Write your answer...
Submit
Still have questions?
magnify glass
imp