Define cts,cls,managed code, DOT NET Programming

CTS(Common Type System) : In order that the two language communicate smoothly CLR has CTS (Common Type System). Example in VB you have "Integer" and in C++ you have "long" these data types are not compatible so the interfacing between them is very complicated. In order to able that the two different languages can communicate Microsoft introduced the Common Type System. So "Integer" datatype in VB6 and "int" datatype in C++ will convert it to System.int32 which is the datatype of CTS. The CLS which is covered in the coming question is the subset of CTS.

CLS(Common Language Specification) : This is a subset of the CTS which all the languages of  the  .NET are expected to support. This was always the dream of Microsoft to combine all different languages in to one umbrella and CLS is one step towards that. Microsoft has defined the CLS which are nothing but guidelines that language to follow so that it can communicate with all the other .NET languages in a seamless manner.

Managed Code : Managed code runs in the environment of CLR  that is  .NET runtime. In other way all IL are managed code. But if you are using some other third party software example VB6 or VC++ component they are unmanaged code as .NET runtime (CLR) do not have control over the source code execution of the language.

Posted Date: 9/18/2012 3:50:24 AM | Location : United States







Related Discussions:- Define cts,cls,managed code, Assignment Help, Ask Question on Define cts,cls,managed code, Get Answer, Expert's Help, Define cts,cls,managed code Discussions

Write discussion on Define cts,cls,managed code
Your posts are moderated
Related Questions

System Simulation - repost 2 Project Description: A. Prepare random numbers of the form: Case 1: Uniformly distributed random numbers (RNs) [range: 0.0-1.0] Case 2: Exp

What is the relationship between a class and an object? A class acts as a blue-print that explains the properties, states, and behaviors that are common to a number of objects.

What are the different types of workflow in WF? In WF 4.0, the following two types of workflows are used: Flowchart workflows - Helps you to make workflows using the commo

The Full form of CLR is Common Language Runtime and it is  the heart of the .NET framework. All Languages have its own runtime and its the responsibility of the runtime to take car

URGENTLY WANTED a Web Developer (with solid .NET skills) We are immediately in search of a creative passionate and highly organised expert Web Developer to join our team to work

What is Object Relational Designer? The 0/R Designer provides a visual design surface to make LINQ to SQL entity classes and associations (relationships) that are based on obje

Here's the General Background on our project work: We need your help building out a new application that's part of a new startup in the Silicon Valley. We've built a fairly s

Demonstrating use of break, continue & goto - C# Program How can i use break, continue & goto in my assignment, I am looking for a program in C#. It would be feel great if any

How do you implement prototype pattern in .NET? The Cloning is achieved by using the ICloneable of the System namespace. It has a "Clone" method that actually returns the refer