---
title: "What is CTS in ASP.NET Core?"  
description: "What is CTS in ASP.NET Core?"  
author: "Sanjay Goenka"  
published: 2023-03-06  
updated: 2023-06-25  
canonical: https://www.mindstick.com/forum/157461/what-is-cts-in-asp-dot-net-core  
category: "asp.net core"  
tags: ["asp.net", "asp.net core"]  
reading_time: 2 minutes  

---

# What is CTS in ASP.NET Core?

What is [CTS](https://www.mindstick.com/blog/113/common-type-system-cts) in [ASP.NET Core](https://www.mindstick.com/articles/12946/get-started-with-asp-dot-net-core-mvc-and-visual-studio)?

## Replies

### Reply by Aryan Kumar

CTS stands for Common Type System. It is a set of rules that define how types are declared, used, and managed in the .NET Framework and [ASP.NET](https://www.mindstick.com/articles/934/default-folders-available-inside-the-asp-dot-net-application-folder) Core. The CTS ensures that types from different languages can interact with each other, and that code written in one language can be easily ported to another language.

The CTS defines a number of different types, including:

- **Primitive types:** Primitive types are the basic building blocks of the CTS. They include types such as `int`, `float`, and `string`.
- **Reference types:** Reference types are objects that are stored on the heap. They include types such as `System.Object` and `System.String`.
- **Enumerations:** Enumerations are a way of representing a set of named constants.
- **Structs:** Structs are a way of grouping together related data.
- **Classes:** Classes are the most complex type in the CTS. They can contain data, methods, and events.

The CTS also defines a number of rules that govern how types can be used. For example, the CTS specifies that primitive types can be implicitly converted to other primitive types, but that reference types cannot.

The CTS is an important part of the .NET Framework and ASP.NET Core. It allows developers to write code that is portable and interoperable.

Here are some of the benefits of using the CTS:

- **Portability:** The CTS ensures that code written in one language can be easily ported to another language.
- **Interoperability:** The CTS ensures that types from different languages can interact with each other.
- **Type safety:** The CTS helps to ensure that type errors are caught at compile time, rather than runtime.
- **Performance:** The CTS can help to improve performance by optimizing the way that types are stored and managed.


---

Original Source: https://www.mindstick.com/forum/157461/what-is-cts-in-asp-dot-net-core

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
