Buy Questpond's video subscriptions on
huge discount
.
Online: 2251
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
C#
>
Loading ...
difference between cls and cts in details
Posted by
Shanky11
under
C#
on 1/28/2013 |
Points: 10
| Views : 12261 | Status :
[Member]
| Replies : 3
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
difference between cls and cts in details
please provide details infromation on cls and cts
whats the actual diff between cls and cts not theory that provided on internet
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Budnet
on: 1/30/2013
[Member]
Starter
|
Points: 25
0
Common Type System and Common Language Specification are both the part of .NET Framework. Let me give a brief idea about both:
Common Type System is a standard of type definition and their values. This is common for all .NET Framework compliant languages. The main purpose of this CTS is to allow programs written in different languages communicate with each other easily.
Common Language Specification is specification of set of basic language features needed by the application. CLS also specifies rules for the language to be .NET compliant. Using CLS different .NET compliant languages can easily integrate with each other in terms of features.
The difference between CLS and CTS is, we can say that CTS is a subset of CLS. All the rules defined in CTS also must be followed in CLS. In addition there are more rules defined in CLS.
As a conclusion of whole discussion, CTS is a specification having rules about types used in .NET Framework and CLS is specification having rules about all features provided by the language including types. The purpose of both is same: Allow programs written in different languages to integrate and communicate with each other easily.
thank u
visit our site www.budnetdesign.com
Shanky11
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Ranjeet_8
on: 1/30/2013
[Member]
[MVP]
Gold
|
Points: 25
0
CTS When different languages are integrated and want to communicate, it is certain that the languages have their own data types and different declaration styles. CTS define how these different variables are declared and used in run time. E.g. VB offers an Integer data type while C++ offers long data type. Using CTS, these data types are converted to System32 which itself a data type of CLS. CLS Any language(s) that intend to use the Common Language Infrastructure needs to communicate with other CLS-Compliant language. This communication is based on set of rules laid by CLS. These rules define a subset of CTS.
Refer this url:
http://onlydifferencefaqs.blogspot.in/2012/08/difference-between-cts-and-cls.html
Please Mark As Answer if this helps you
.
Shanky11
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Umar
on: 1/31/2013
[Member]
Starter
|
Points: 25
0
Hi Shanky,
CTS is Common Type System, which describes how types are declared, used and managed. CTS facilitate cross-language integration, type safety, and high performance code execution.
Let say in VB you have the integer but in C++ you have long in order to communicate b/w this two languages Microsoft introduced
the System Called Common Type System
CLS is nothing but the specification were we defined the set of rules to serve the different languages, Here inheritance, polymorphism, exceptions, and other features plays the major role
Regards,
Umar
Umar Deen
Shanky11
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...