Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Bit confused about CTS ...

Bit confused about CTS ...

Scheduled Pinned Locked Moved .NET (Core and Framework)
dotnetcsharpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    He is Cool
    wrote on last edited by
    #1

    Hi, After I have read several articles on msdn and other tech sites, I am now bogged now with a doubt. Is CTS a specification checked by CLR or a component in CLR? I read all about the goals of CTS. But inside the .NET framework how it is placed? Is it defined as a set of rules inside CLR, hence can I take it is a component ? Or is the CLR programmed to check the some specifications( which we call CTS) while executing a CLR compliant language? Please explain me to get more insight in to this. Thanks, mani

    D 1 Reply Last reply
    0
    • H He is Cool

      Hi, After I have read several articles on msdn and other tech sites, I am now bogged now with a doubt. Is CTS a specification checked by CLR or a component in CLR? I read all about the goals of CTS. But inside the .NET framework how it is placed? Is it defined as a set of rules inside CLR, hence can I take it is a component ? Or is the CLR programmed to check the some specifications( which we call CTS) while executing a CLR compliant language? Please explain me to get more insight in to this. Thanks, mani

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      The Common Type System is just a set of rules that defines a commonly used set of primitive types, like System.Int32, that are used by all languages that the Common Language Runtime supports. These type are mapped to the types used in each language. For example, System.Int32 is an int in C# and an Interger in VB.NET. This makes it very easy for classes written in different languages to pass data back and forth without any custom, time-consuming, conversions. The CTS is a set of rules, or specifications, at the core of the CLR, not a module or a component. It's part of the Common Language Specification that every .NET compiler MUST adhere to to manitain compatibility with the .NET Framework.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups