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

Is redux flux?

914


Explain the server control events of asp.net ?

947


How to implement Authentication and Authorization?

1019


What are standard controls?

932


What is the use of autowireup in asp.net?

1020


What is the use of session state and application state and difference between them?

877


What is viewstate parameter?

902


What are the advantages of asp.net mvc framework? : asp.net mvc

985


Fetch one page value to another page without using state-managment ?

862


How about the security in Activex DLL and Activex EXE ?

2237


Why do we need Sessions?

1006


What is the difference between c# and .net?

1012


Give 2 examples for scenarios when routing is not applied?

1001


What is the significance of attaching a profile while creating a user?

976


To get the values in two different controls to match which control you use it?

1005