Note-taking notes -- don't bow down, but "go back"

Source: Internet
Author: User

At least I can understand what I am doing and what the consequences are.

Ado only provides a set of interface standards, and each vendor is responsible for implementation, which inevitably compromises compatibility. However, ADO. Net enhances unification.

Many methods of strings are instance-specific, while char is generally static. Do not forget that one is the reference type and the other is the value type.

The element in arraylist may not be of a type, but an error occurs in sort.

We know that we are actually lying when making many promises.

Remember to close reading and writing such as streamreader because the changes are written to the buffer first, and the results cannot be saved after the changes are not closed.

BecauseSource codeAll development tools written in the same language generate the same intermediate language, so the differences in the implementation process disappear after entering the general language environment.

New String ("A", 10) // defines a string of 10.

Callbacks are used to provide feedback from a server to a client asynchronously.

CTS defines how types are created and managed in the runtime environment. CLs focuses mainly on the interaction and operability of languages. It defines how different languages are compiled into msil.

No constructor or destructor can be defined for a structure.

String is immutable.

Interface to split what an object can do and how it can be done.

Const: the actual value of a constant is determined during compilation.CodeWhen compiling from C # To msil, the compiler inserts the constant value into the final source data of the executable file. Constants can only be basic types. Therefore, if the constant changes, other classes dependent on the constant must be re-compiled.

Simplifying and applying a development topic has always been Microsoft's goal.

Type Security avoids invalid access to memory addresses.

When calling a method, CLR creates a stack framework to allocate memory to the method. The stack framework is a stack-based memory block, it is large enough to accommodate the parameters passed to the method and the local variables defined inside the method. All applicationsProgramThey are all created through a series of method calls. When calling a method sequence, the system creates a stackframe for each method and adds it to the call stack. In this process, a stack trace stacktrace is created, it is an ordered set of stack frameworks and provides detailed records of the sequence of methods called by applications.

In many cases, JIT makes attribute Access faster than field access.

In fact, all the delegates are multicast. Unicast delegation only has one method on the call list. However, the creation of unicast delegates (by constructor) and multicast delegates (by combining existing delegates) are very different, so they must be treated as different entities.

The namespace and source files are logical groups of code, while the Assembly is a physical group.

Each Assembly contains metadata. It describes the types and members in the Code and replaces the header file of C ++. The Interface Definition Language and COM developers have used the Type Library for ten years. It also lists the reference types and members in the code. Metadata provides the CLR with all the information required to load types and call methods during runtime. CLR also uses metadata to enhance its security.

 

@ Yitian Studio

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.