Erstellt von Ruturaj Rana
vor etwa 3 Jahre
|
||
11 Components of ASP.NET 1.COMMON LANGUAGE RUNTIME >1.also known as CLR >2.The CLR is the heart of .NET framework. >3.It is .NET equivalent of Java Virtual Machine (JVM) >4.It is the runtime that converts a MSIL (Micro Soft Intermediate Language) code into the host machine language code, which is then executed appropriately >5.The CLR provides a number of services that include: >a.Loading and execution of codes >b. Verification of type safety >c. Compilation of IL into native executable code >d. Automatic garbage collection >e. Enforcement of Security >f. Interoperability with other systems. >g, Managing exceptions and errors >h. Provide support for debugging and profiling >i. Memory isolation for application Providing metadata
1.3 Common Type System (CTS) The language interoperability, and .NET Class Framework, are not possible without all the language sharing the same data types. What this means is that an ―int‖ should mean the same in VB, VC++, C# and all other .NET compliant languages. Same idea follows for all the other data types. This is achieved through introduction of Common Type System (CTS). CTS, much like Java, defines every data type as a Class. Every .NET compliant language must stick to this definition. Since CTS defines every data type as a class; this means that only ObjectOriented (or Object-Based) languages can achieve .NET compliance. Given below is a list of CTS supported data types: Data Type System.Byte System.Int16 System.Int32 System.Int64 System.Single System.Double Description 1-byte unsigned integer between 0-255 2-bytes signed integer in the following range: 32,678 to 32,767 4-byte signed integer containing a value in the following range: -2,147,483,648 to 2,147,483,647 8-byte signed integer containing a value from - 9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 4-byte floating point. The value limits are: for negative values: -3.402823E38 to - 1.401298E-45 for positive values: 1.401298E-45 TO 30402823E38 8-bytes wide floating point. The value limits are: for negative values: -1.79769313486231E308 to - 4.964065645841247E324 for positive values: 4.964065645841247E-324 to 1.79769313486232E308 System.Object 4-bytes address reference to an object System.Char 2-bytes single Unicode Character. System.String string of up to 2 billion Unicode characters. System.Decimal 12-bytes signed integer that can have 28 digits on either side of decimal. System.Boolean4-Bytes number that contains true(1) or false (0)
Möchten Sie kostenlos Ihre eigenen Notizen mit GoConqr erstellen? Mehr erfahren.