---
title: "Difference between CTs and Cls"  
description: "Difference between CTs and Cls"  
author: "Anonymous User"  
published: 2015-05-30  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/2595/difference-between-cts-and-cls  
category: ".net"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Difference between CTs and Cls

CLS:Comman Language Specification. it is Subset of CTS.\
CTS:Comman Type systemes. it can have different Types of Datatypes. it can be supports two types.\
1)Value Type.\
2)Refference type.\
1)Value type: It can Allocated Memory in Stack,\
Ex:int i =10;\
I value goes to stored in stack memory,int,float,struct etc.\
2)Refference type:It can Allocated Memory in Heap . \
ex:class,object, delegate,interface,string etc.

## Answers

### Answer by Anonymous User

CLS:Comman Language Specification. it is Subset of CTS.\
CTS:Comman Type systemes. it can have different Types of Datatypes. it can be supports two types.\
1)Value Type.\
2)Refference type.\
1)Value type: It can Allocated Memory in Stack,\
Ex:int i =10;\
I value goes to stored in stack memory,int,float,struct etc.\
2)Refference type:It can Allocated Memory in Heap . \
ex:class,object, delegate,interface,string etc.


---

Original Source: https://www.mindstick.com/interview/2595/difference-between-cts-and-cls

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
