We can not use the C # language independent, but must. Net framework considered together. C # compiler specifically for. Net C #, which means using all of the code always. Net Framework to run. For the C # language, two important conclusions can be drawn:
1.C # reflect the structure and methodology. Net based methodology
2. In many cases, C # depends on the specific language features. Net function, or rely on. Net base class
Microsoft Intermediate Language (Microsoft INtermediate Langiage) called MSIL or IL
Common Type System (Common Type System) referred to as CTS
Common Language Specification (Common Language Specification) CLS
C # and. NET relations
C # is designed with Microsoft's. Net framework designed for use together.
C # is a modern object-oriented design methods based on the language.
C # for its part, is a language, although it is used to generate the face. Net code environment, but it is not itself. Net part.
. NET supports a number of features, C # does not support. The C # support some features, but. Net does not support (such as operator overloading)
Common language runtime
. Net Framework is the core of the implementation of its runtime environment, known as the common language runtime (CLR) or. Net runtime.
Usually under the control of the CLR is called managed code to run the code (managed code)
In. Net compiled into two parts:
1. The source code compiled to Microsoft intermediate language (IL)
2.CLR compile the IL code for the platform-specific
The advantages of managed code:
They are a low-level language, grammar is very simple (using numeric codes instead of text code), can be very quickly converted to the internal machine code.
1. Platform independence (compiled to intermediate language can get. NET platform independence)
2. To improve performance ()
3. The language of interoperability (to be in any language compiled to intermediate code)
Intermediate language
Intermediate language features:
1. And the use of object-oriented interface to
2. Value types and reference types, significant differences between
3. Strong data type
4. Use the exception to handle errors
5. Use features
Strong data type
Intermediate language is an important aspect of it is based on data type.
We. Net provided depends on the type of security access to the benefits of the service station for more, these services include
1. Language interoperability
2. Garbage collection
3. Safety
4. Application domain
IL (Intermediate Language) is case-sensitive
Garbage collection: handling all the variables present in the code to check on the managed heap is stored in the reference to the object, to determine which objects can be accessed from the code that is ---- which objects have references, no references no longer an object from the code visit, they have been deleted.
Garbage collector is an important aspect that he is uncertain. In other words, can not guarantee when the garbage collector is called:. Net runtime decisions need it, you can call it (unless explicitly call garbage collector). Russia and Georgia but you can override their own process, call the garbage collector code.
Recommended links:
AVI to FLV
Source Editors Guide
Premier Source Editors
JSP variable in the scope of the specification
Beautiful hand experience with lighting effects with the OLD photo magic
Brocade "audit Stars" Audit Of A New Career Model In China
ASF converter
3G really do lead to economic disaster
SWF to MPEG4
c # And class differences in the structure
Specialist Online GAMING
12 large companies in 2007-2008 compared the welfare state
"Torch Light," Master-class value attached to vocational skills learned over
Hkcmd Exe Bad Error Try This Errors Fix
No comments:
Post a Comment