Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is CTS, CLS and CLR ?

Answer Posted / dinesh parmar

What is the CTS?
A set of common types
any language that runs in CLR should implement
no syntax specified
Languages often define aliases
For example
CTS defines System.Int32 – 4 byte integer
C# defines int as an alias of System.Int32
string -> System.String
object -> System.Object

What is the CLS?
A specification of language features
how methods may be called
when constructors are called
subset of the types in CTS are allowed
E.g. UInt32 is in CTS, but not in CLS
Non-CLS-compliant example
Code that takes UInt32 in a public method
Can mark classes as CLS-compliant
not marked is assumed to mean not compliant.

Is This Answer Correct ?    31 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define globalization and localization.

980


What is connection pooling and how to enable and disable connection pooling?

1013


What is the difference between rest and restful?

1053


Explain the asp.net mvc folder conventions? : asp.net mvc

1000


What is applicatio domain?

1002


Give an example of cookie abuse.

1072


What are the parts of an http response?

975


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

6626


What is difference between viewstate and session in asp net?

1034


How do you implement postback with a text box?

983


What a diffgram is, and a good use for one?

993


What are the new login controls in asp.net 2.0?

982


Why do we use sessions?

996


Why we are using mvc instead of asp.net? : Asp.Net MVC

1044


Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net

2028