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
What are the criteria necessary for an effective and efficient network? a. Performance It can be measured in several ways, including transmit time and response time. b

Professional TELERIK Bind MS ACCESS Required: 1. Including custom fields to the Schedule. 2. Schedule Calendar Sync with Outlook 3. Selecting display in Schedule res

What are the components of WF 4.0? WF having of various components that work together to make desired workflow. The components of WF are given as follows: Workflows and a

Difference between VB.NET and C# This is the main debatable issue in .NET community and everyone treat their languages like religion. It is a very important matter which lan

What are advantages of SQL 2000 over SQl 7.0? 1)User-Defined Functions: The User-Defined Functions (UDFs) -- one or moreTransact-SQL statements may be used to encapsulate the

What is a Web Service? The Web Services are the business logic components which provide the functionality via the Internet using standard protocols like HTTP. The Web Servic

I need a Windows SharePoint Services or Similar Solution My company desires a reliable way of managing the documents online for each of its clients. The solution would want t

What are the different types of literals? A literal is a textual representation of an exacting value of a type. The dissimilar types of literals in Visual Basic are: Boo

How can we identify that the Page is PostBack? The Page object has the "IsPostBack" property which can be checked to know that the page is posted back.

What is Windows DNA architecture? The Windows Distributed internet Applications Architecture (DNA) is a Microsoft blueprint for scalable, robust, & distributed business softwar