CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS MICROSOFT DOTNET DETAILS
    Question :
    What is cts and cls?


    Posted by: gnanaselvi on 9/9/2008

    Contact gnanaselvi Contact gnanaselvi
    Category DotNet Interview Questions
    Rating (0.4) By 1721 users
    Added on 9/9/2008
    Views 2428
    Rate it!
    Answers:

    =>cls stands for common language specification where as
    cts stands for common type system.
    =>CLS : cls is a standard for .net . cls is small set of specification to make all languages as a .net compliant languages. cls make a use of cts and clr. if my languages (c#,vb.net,j#,vc++) wants to be compliant language it has to follow cls standard.

    =>CTS : Common Type System is also a standard like cls. If two languages (c# or vb.net or j# or vc++) wants to communicate with eachother, they have to convert into some common type (i.e in clr common language runtime). In c# we use int which is converted to Int32 of CLR to communicate with vb.net which uses Integer or vice versa



    Posted by: Saurin    

    Contact Saurin Contact Saurin

    CLS: It Sand For Common Language Specification Which has to follow All Language. All DataType which follows cls specification are Language Interoperability.Unit is non cls part of data type.cls is called as SuperSet.
    CTS: It Stand For Common Type System Which provides universe data type available in dotnet.
    Unit is part of cts.it is also called as Subset.



    Posted by: Gajanan Shinde    

    Contact Gajanan Shinde Contact Gajanan Shinde

    Common Language Specification is a set of constructs and constraints that serves as a guide for library writers and compiler writers. The Common Language Specification is subset of the Common Type System(CTS).

    The Common Type System defines how types are declared, used, and managed in the runtime, and is also an important part of the runtime's support for cross-language integration.



    Posted by: vishnu    

    Contact vishnu Contact vishnu

    CLS means common language specification which says that all .net languages(c# or vb.net or j#.net....) when compiled has to generate the same type of IL code when targeting the .net framework.
    CTS means common type system which says that all the data types present in various .net languages should adopt the same data structure.ie.,while converting vb.net code to c#.net,integer of vb.net is shown as int32 to c# by Intermediate language(IL).



    Posted by: ram    

    Contact ram Contact ram

    cls:comman language specification we abbrivate,now ls: language specificaion means list of syntactical rules to build one application or progarm or language,and here these ruls comman to all dotnet compatible languages.
    ex: c#(dotnet comatible lang)
    perl.net(same)
    (why comman rules?)=improving conversion capabulity to an applicaion or program or language by internolly only.
    cts:by using any lang,if we want declare variable(i) as 10,needs different structures as per the lang rules& structure,but here 1 common format internolly understood by .net f/w is cts available in diff modes...int16,int32



    Posted by: kurmanath    

    Contact kurmanath Contact kurmanath

    cls is a standard for .net . cls is small set of specification to make all languages as a .net compliant languages.
    All DataType which follows cls specification are Language Interoperability.Unit is non cls part of data type.cls is called as SuperSet.



    Posted by: Arvind Rathour    

    Contact Arvind Rathour Contact Arvind Rathour

    CLS defines a set of rules that enables interoperability on the .NET platform. These rules serve as a guide to third-party compiler designers and library builders. The CLS is a subset of CTS and therefore the language supporting the CLS can use each others' class libraries as if they are their own.



    Posted by: Shankar kumar    

    Contact Shankar kumar Contact Shankar kumar

    This is a subset of the CTS which all .NET languages are expected to support. It was always a
    dream of Microsoft to unite all different languages in to one umbrella and CLS is one step
    towards that. Microsoft has defined CLS which are nothing but guidelines that language to follow
    so that it can communicate with other .NET languages in a seamless manner.
    (B)



    Posted by: selva    

    Contact selva Contact selva

    CTS is common type system and it defines a certain default data types.
    CLS is a common Language System and it defines certain rules for the language.
    A language must meet the requirements of CLS and CTS to be a managed language.



    Posted by: Manjushree     

    Contact Manjushree Contact Manjushree

    .Net framework contains two types
    1)CLR:CLR standard for common language run rime.This runtime environment that manages the execution of the code and it provide the sevices(memory mgmt,thraed mgmt,security mgmt,code mgmt)
    2)FCL:Short for Framework class library.The collective name for the thousand of classes that compose the .net framework



    Posted by: ravinderreddyk    

    Contact ravinderreddyk Contact ravinderreddyk

    CTS: Short for Common Type System.It describe how types are declare,used and managed.CTS facilities cross language integration,type fastly and high performance code execution.
    CLS:Short for Common Language Specification. It is a specification that defines the rules to support language integration.



    Posted by: ravinderreddyk    

    Contact ravinderreddyk Contact ravinderreddyk

    CTS: Common type system that deals with the datatypes of .net
    CLS: Common Language System With a set of rules for defining the proper conditions relative to the language to communicate each other and easy understanding.



    Posted by: Sakthi    

    Contact Sakthi Contact Sakthi

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    What is the purpose of DOTNET?
    View Answer
    Give the detail procedure of how to add different controls at runtime in VB and dot Net. The controls should be added as per the customers requirement at the customers place without intervention of the programmer. Similarly how to remove these controls which are generated by the customer at runtime?
    View Answer
    With respect to security ,which one is the better choice?.Net or J2EE? Explain.

    View Answer
    What is the difference between the C#.NET and VB.NET?

    View Answer
    Can implement same method name in both base class And derived class with different action?

    View Answer
    Can i change private assembly to shared assembly?How?

    View Answer
    How u can create XML file?

    View Answer
    How can I read .doc document in ASP.Net?

    View Answer
    Can we run .NET in unix plateform?

    View Answer
    In .NET Compact Framework, can I free memory explicitly without waiting for garbage collector to free the memory?

    View Answer
    what i do for load testing in . net application .



    View Answer
    How many types of assemblies are there , wat are they?

    View Answer
    What's ArrayList in .Net (VB.Net or C#)
    What's the advantageous using ArrayList.




    View Answer
    How to clear a datagrid on a button click?

    View Answer
    How will you make .NET programs work in Linux ?

    View Answer
    Given a server with 4 cpu's, and no databases write a pseudocode to search for the word camera in 100,000 html documents.



    View Answer
    With respect to security ,which one is the better choice ,.Net or J2EE? Explain.........

    View Answer
    What Is The Difference Between ViewState and SessionState?

    View Answer
    How different are interface and abstract class in .Net?

    View Answer
    What is the difference between proc. sent BY VAL and By Ref?
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL DotNet Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.0625 Seconds