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
How can you identify whether or not any changes are made to the DataSet object as it was last loaded? The DataSet object provides the following two methods to track down the ch

What is Array List? An Array is whose size can increase or decrease dynamically. The Array list can hold item of various types. As Array list can increase and decrease his size

Can a .NET web application consume Java web service? Yes Offcourse.Actually Webservices are independent  to language. It depends on WSDL and SOAP. so any one can develope the W

Explain Dataset Accept Changes and Data Adapter Update methods?  Data Adapter Update method Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated

Project Description: We require a Part time or long contract, Programmer/Developer working in Sydney. Task - Write PHP software into Develop new software to enhan

Explain the WSDL. WSDL is a short form for Web Services Description Language, which is used to explain a Web service in terms of the messages that it forms and accepts. The WS

Prevent .NET DLL to be decompiled By design phase .NET embeds rich Metadata inside the executable code using the MSIL. Anyone can easily  decompile DLL back using tools such as

Explain the difference between XML and HTML. XML explains data while HTML describes how the data should be displayed. Thus, HTML is about displaying information while XML is ab

What is impersonation in ASP.NET? By default, the ASP.NET executes in the security context of a restricted user account on the local machine. Sometimes you require to access ne

Project Description: This is a full time contractual role seeking for a sports advisory service. We are data insights consultancy specializing in sports. We consult to a number