As. NET advanced content, the garbage collector (GC) is something that must be understood. In the "easy to understand" principle, this article explains how the garbage collector works in the CLR.
Basic knowledge
Managed heap (Managed heap)
Let's
I. Basic KNOWLEDGE Preparation:
1. The principle of the layer:
(1) Each layer is called by an interface for the upper layer.(2) The upper layer can only invoke the lower layer.(3) Dependence is divided into two types: loose interaction and strict
Brief introduction
As the application layer of user's direct perception, the web needs to take into account the rationality of user experience and interactive process, and the smoothness of business logic. Improve front-end rendering efficiency
Previously wanted to make irregular forms, mostly using API functions to implement, in C #, you can also do not use API functions can still make beautiful irregular forms, the following describes the relevant methods, the following is the code.
Reading tip: This article gives two things to note about the Page_Load event of an ASPX page in ASP. 1. Sometimes the Page_Load event occurs multiple times on your ASP. 2. Sometimes it seems that the Click event handling code of a button is not
[Reading Notes] C # advanced programming Chapter 1 Dynamic Language extension,
(1) DLR
The Dynamic Function of C #4 is part of the Dynamic Language Runtime (DLR. DLR is a series of services added to CLR.
(2) dynamic type
Dynamic type allows you
Vernacular C # tuples of new syntax features,
1. Tuple)
Tuple comes in 4.0, but it also has some disadvantages, such:
1) Tuple affects code readability because its attribute names are Item1, Item2...
2) Tuple is not lightweight enough because it is
The foundation is the top priority ~ Performance determined by the design of in Dictionary
Back to directory
Dictionary objects are often used. In Big Data Environments, improper Dictionary usage may cause performance problems, and serious
Notes for learning from LINQ
Basic Concepts
As a breakthrough new feature launched by Microsoft, LINQ is Language integrated Query. It establishes a ing between objects and data, you can query data sets by accessing memory objects.
In. in the. NET
[Reading Notes] C # chapter 6 of Advanced Programming,
(1) LINQ Overview
Language Integrated Query (LINQ) inherits the Query syntax in C # programming Language and can access different data sources with the same syntax.
1. LINQ Query
var query =
C # method summary for Traversing various data sets,
Summary of the methods for Traversing various data sets in C:1. Enumeration type
// Print the names of samples of the enumeration type foreach (string sp in Enum. getNames (typeof (Sample) {ary.
C # Reading Task source code (1 ),
We usually use tasks during development. Many of the later. net versions are related to tasks, such as asyn and await. We seldom pay attention to threads when we have tasks. Task brings us a lot of convenience. We
C # unmanaged cross-thread Commission debugging,
Use C # To Call The so file of mingw, return the video data to the wpf interface for display, and register the callback function. When calling the callback function, C ++ encounters the issue that
DynamicObject extension-serialization and deserialization of JSON and DynamicObject, dynamicobjectjson
For a long time, du Niang couldn't find my satisfactory answer, so she had to join the east and west to implement one.
DynamicObject
C # Another method of Expression Tree for copying objects quickly and efficiently,1. Requirements
In the code, you often need to copy the object or copy the values with the same attribute name.
For example:
public class Student {
C # basic simple factory mode and Singleton Mode,
Design pattern: refers to the code Design experience that most people use repeatedly.
Role: code reuse, easy to understand, and ensure code reliability.
I. Simple factory Model
Usage: Create a
Access the database and mysql databaseImprove system performance: Starting from Data Access
1. The using statement has two functions:
① As a keyword, using can import namespaces
② As a C # statement, using can release the memory resources
Layered, new third board layered
In a layered architecture, the system is layered in general, which involves the concept of vertical and horizontal directions. A large system can not simply process information in terms of business logic, it may also
[Note] C # BASICS (13th) -- operator priority of C,
If multiple operators are used in programming, which one will calculate first? This is the priority issue.
For the priority of the C # Operator, see the following sequence:
Brackets. When
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.