/// ///object into JSON/// /// /// objects that need to be formatted /// JSON string Public Static stringDatacontractjsonserialize(T jsonobject) {DataContractJsonSerializer
General learning notes for C # advanced programming (version 6) (1): general advantages and features (reproduced ),
Source: http://www.cnblogs.com/xun126/archive/2011/01/13/1933838.html
Generic is a new feature of CLR 2.0. In CLR 1.0, you need to
Iii. SuperIO secondary development process. superio Secondary Development1.1 secondary development Flowchart
1.2 reference related components
Find the "Development Kit" and reference the relevant components. For example:
1.3 Develop the device
It helps you understand the internal implementation of Dictionary and the implementation of dictionary.
Developers who know about Dictionary know that Dictionary addition is slower than List, but query is faster. How does Dictionary be implemented?
C # structure struct summary,
The struct type is a value type, which is usually used to encapsulate small correlation variable groups.
Struct can contain members: constructors, constants, fields, methods, attributes, cited objects, events, and
. NET Design Mode: Singleton mode;. net Design Mode
Reasons for my learning Singleton mode:
When using the MDI WinForm program, you must open each sub-form only once (only one sub-form instance can be opened at the same time). There are many
C # basics: Delegate,
Delegation is the most common content in C. Like classes, enumerations, structures, and interfaces, delegation is also a type. Class is the abstraction of objects, while delegation can be seen as the abstraction of functions. A
ASP. NET 4.0 has not registered a solution on the Web server, asp. net4.0
When you use VS2010 to create a web application, the following prompt is displayed: ASP. NET 4.0 has not been registered on the Web server. To make the website run correctly,
C # basic series -- Reflection notesReflection has been used for several years, but I have always thought that the concept of anti-reflection is very abstract. I will summarize this knowledge point when I have time. 1. Why reflection is required:
Foreach --- the set has been modified; enumeration may not be performed ., Foreach --- Enumeration
Summary:
Foreach is read-only, and the data cannot be changed (including modification, deletion, and addition) when the data is retrieved ). To
C # date formatting,
Generally, the date format of our computer is yyyy-M-d, which is the default format of the system, but sometimes, to display, we may only display the year and month yyyy-M, in this case, the date displayed by the DatePicker
Basic knowledge that is often misunderstood (1) C #,
Misunderstanding of value type and reference type (The reference type is stored on the stack,The value type is stored on the stack.)
When learning C # basic space, I can't escape the
NFinal Study Notes (1)NFinal framework: the fastest netWeb framework. It has three major features: NFinalServer, NFinalBuild, and NFinal code generator (generate web Layer)
First, I learned about NFinalServer.
What is NFinalServer? Is the IIS Lite
C # process and threadI. Process and thread processes are the dynamic execution of a static command sequence and the basic unit for system resource allocation and scheduling. Information related to the process includes the user mark of the process,
MD5 encryption and md5 Encryption
/// /// MD5 encryption /// /// value to be encrypted /// added value // public static string GetMD5 (string value, string pwSalt) {HashAlgorithm hashAlgorithm = new MD5CryptoServiceProvider (); // or SHA1
C # GZip compression/DecompressionSometimes we need to compress data, such as video/audio/content, and so on. Many of them are used in socket programming. However, Microsoft provides us with a class GZIP for decompression. However, this is something
Abstract Factory model for car building, abstract factory for car building
Abstract Factory models can be used to build vehicles.
There are many brands of cars, and there are also many attributes of the car, such as the type, displacement,
C # -- Dependency Interface Programming and simple factoryWhen developing a project, you may encounter such a problem: when the project is half developed, the original Access to the database is ADO. NET, the Project Manager suddenly asked to use the
C # determine whether a user uses a browser and display the actual content or QR code accordingly
When we look at some webpages, we will find such a feature: some pages can only be accessed in, if accessed on a computer, only the QR code of the
C # use static constructor,
When we want to initialize some static variables, we need to use static constructors. This static constructor belongs to a class instead of an instance. That is to say, this constructor will only be executed once, that is,
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