1. It has pre-defined data type that is available in IL. It is strongly type because all the language code is compiled in dot net domain, it provides equivalent data type for other language data type.
2. CTS stands for Common Type System. It defines the rules which Common Language Runtime follows when declaring, using, and managing types
Example:
The visual basic data type is integer its equivalent data type in C# is int32.
The common type system performs the following functions:
1. It
enables cross-language integration, type safety, and high-performance code
execution.
2. It
provides an object-oriented model for implementation of many programming
languages.
3. It
defines rules that every language must follow which runs under .NET framework.
It ensures that objects written in different .NET Languages like C#, VB.NET, F#
etc. can interact with each other.
CTS are categories into two types-
1. Value Type
2. Reference Type
CTS are categories into two types-
1. Value Type
2. Reference Type
No comments :
Post a Comment
Ask a Question?