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
Reading strings from the keyboard   using System; class Prog3_1 {       public static void Main()   {    Console.Write ("Enter Your First Name : "); // Displaying to writ

Need Data Stream from Laptop to Phone Project Description: I have a notepad file that is automatically generated in a set file name and format by acquisition software and wri

What is difference between SITP and UTP in testing? The Unit Test Plan (UTP) are completed at smallest unit level or stand alone mode. For example you have Customer and invoici

What are the ways to implement locking in ADO.NET? There are many ways to implement locking using ADO.NET which are shown below:- 1)Whenever we call "Update" method of DataA

What is a Interface? The Interface is a contract that describes the signature of the functionality. So when a class is implementing a interface it says to the outer world, that

The ASP.NET provides two namespaces. The first is System.WEB.mailmessage class and the second is System.Web.Mail.Smtpmail class.

What is a static constructor? Static constructors are introduced with C# to initialize the static data of a class. CLR calls the static constructor before the initial instance

What are similarities between Class and structure? The similarities between structures and classes are as follows:- 1) Both can have constructors, properties, methods, field

I need Beautiful Chatting Application Project Description: I need a beautiful chatting application created that has both private as well as public chat system. The chatting c

IT governance defined In this section, a short literature survey will be conducted. The results will be presented in a final comparative table. Before starting defining IT gove