1. Use Pascal casing rules to name methods, types, structs, interfaces, delegates, enumerations, enumeration items, properties, events, and so on.
public class DataGrid { public void DataBind() { } }
2. Name all
We say that the anonymous type is a new feature of C # 3.0, not that anonymous type is a new feature of the. NET Framework 3.5. This is because the anonymous type is simply a newly introduced feature of the. NET programming language and the
20.1 Implicit type
Added a variable declaring Var in c#3.0, which is similar to JavaScript's Var, but it's also different. The same thing is that it can declare any type of local variable with VAR, except that it only tells the compiler that the
Most of this article is organized from MSDN
3. Partial method
A partial method enables the performer of a part of a class to define a method (similar to an event). The performer of another part of the class can decide whether to implement the
This article describes
As I said in the previous blog post, I will introduce the use of sockets and TcpListener and UdpClient in C # to implement various synchronous and asynchronous TCP and UDP servers, all of which I spent a lot of days summing up,
Look at the help of RegistryKey to know that this thing is not complicated, such as:
1, add the key to add value
String appName = "Poweroffontime";//Gets the assembly that executes the method and gets the file path to the assembly (the directory
first introduce the XMLHttpRequest object, we all know that Ajax is not a single technology, but a combination of several technologies. XMLHttpRequest is the most core technology in the Ajax technology system, and without xmlhttprequest,ajax the
First, we introduce the concept of MVC:
MVC (Model View Controller) models, views, and controllers are a widely used structural design pattern.
Model: is the data that needs to be displayed in the MVC design pattern. Under normal circumstances, the
Brief introduction
The full name of WF is the Windows Workflow Foundation, which is Microsoft in. A set of workflow development frameworks introduced after NET3.0. WF is one of the three frameworks (WPF and WCF and WF) that Microsoft has launched on.
Recently, in modifying a previously made module, add a new feature. Collation of the next found that the reuse rate is very low, most of the things still need to be re-written. Functions used in the local update, all the way to achieve a partial
1. Download SQLite dll from:
Http://www.sqlite.org/download.html
Windows version:
Http://www.sqlite.org/2016/sqlite-dll-win32-x86-3130000.zip
2. Copy Sqlite3.dll to Bin directory3. Install Nuget:install-package sqlite-netSQLite.CS and
[. NET] RabbitMQ behavior art,. netrabbitmqRabbitMQ behavior art
RabbitMQ: a message system developed by Erlang Based on the AMQP system protocol.
Advantages: robust, easy to use, open-source, and support for various popular languages (such as
New usage, new usage
In C #, The new Keyword can be used as an operator, modifier, or constraint.New operatorUsed to create objects and call constructors.New ModifierUsed to hide an inherited member from a base class member.New ConstraintIt is used
C # basic introduction -- C # comments,
Annotation is some "descriptive text" in the code ". Annotations are not involved in program compilation and running, and are only for programmers to read.
Comments can be divided into single-line
SlickSafe. NET open source permission Framework Development Guide, slicksafe.net Open Source
This article is applicable to users who want to quickly build a permission system, especially those who want to have a well-defined permission model. The
Test the Cluster of Redis Cluster on Windows to fill in the note, redisclusterFor the principle of redis cluster implementation, see the http://www.tuicool.com/articles/VvIZje cluster environment requires at least three nodes. We recommend that you
Three major characteristics of object-oriented: Polymorphism and three polymorphism of object-orientedWhat is polymorphism?
In a word, polymorphism means that different interpretations can be made when the same operation (method) Acts on different
AntData. ORM framework: read/write splitting; antdata. orm frameworkPrepare the environment and prepare two machines. Configure Master Slaver mode. I configured it with two vmware virtual machines. Contact us if necessary. Master:
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.