sidharthgs6 on Thu, 20 Sep 2012 07:20:42
What is Common Type System(CTS) ?
I know the definition CTS is cross language integration.It provides the data types,values,object types.
What is meant by language integration ?
Please Explain the programatic way or practical manner explanation of CTS
Patrice Scribe on Thu, 20 Sep 2012 08:10:39
It doesn't match a particular programming construct. This is just the principle that this is .NET rather than each and every .NET based languages that defines the available types. Then each language can pick the one he needs and this ensure that all languages are based on exactly the same types (rather than inventing each their own types).
With the Common Language Specification (CLS) that defines what each and every language should have in common, this is why you can create a DLL in one language and consume it in another language (because they use the same common types so there is no problem to act on the same typed data accross languages).
So in short this is not something you'll directly use. Just one of the basic principle that ensure .NET languages are doing well with each other...
Sambath Raj.C on Thu, 20 Sep 2012 10:27:54
As per MSDN
The common type system defines how types are declared, used, and managed in the common language runtime, and is also an important part of the runtime's support for cross-language integration.
The common type system performs the following functions:
Establishes a framework that helps enable cross-language integration, type safety, and high-performance code execution.
Provides an object-oriented model that supports the complete implementation of many programming languages.
Defines rules that languages must follow, which helps ensure that objects written in different languages can interact with each other.
Provides a library that contains the primitive data types (such as Boolean, Byte, Char, Int32, and UInt64) used in application development.
Please check the URLhttp://www.c-sharpcorner.com/uploadfile/c210df/common-language-integration-in-net-framework/
With Thanks and Regards
click "Proposed As Answer by" if this post solves your problem or "Vote As Helpful" if a post has been useful to you
Joon84 on Thu, 20 Sep 2012 11:09:26
see this link : http://msdn.microsoft.com/en-us/library/zcx1eb1e(v=vs.100).aspx