Assembly:The concept of the 1..net. exe. DLL (available for loading by itself cannot perform a no-entry function main function)2. IncludeType metadata (the type defined in the code)Assembly metadata (describes the assembly itself)Il codeResource
[Reconstruction learning] reconstruction of class 06, reconstruction learning 06
Well, do you want to write this chapter yourself for a long time? It seems that this chapter is still not well written, because it seems very simple.
This chapter is
[Reconstruction learning] 05. Rebuilding and learning 05 Functions
The code in refactoring is java. I want to use C.
Today, my main task is to write a large piece of junk code and then refactor it (only for functions, not other refactoring
Nancy custom JsonSerializer, jsonserializer
1. Create your own jsonserializer class
Public class CustomJsonNetSerializer: JsonSerializer, ISerializer{Public CustomJsonNetSerializer (){ContractResolver = new CamelCasePropertyNamesContractResolver ()
. Net to get the local public IP code,. net to get the ip code
Using System; using System. net; using System. text. regularExpressions; namespace Keleyi. com {public class GetInternetIP {public static string GetIP () {using (var webClient = new
Export the blog in the blog Park as the text format of MovableType, movabletype
Recently deleted the previous wordpress blog, and re-built an independent blog with textpattern, http://www.shenlongbin.com, it can be used as a backup of the content on
Thread usage in C,
Create a thread by Delegate
Static int sum (int x)
{
Return x + x;
{
Func a = sum;
Create a new thread format: a. BeginInvoke (10 );
Obtain the return value of a thread: IAsyncResult ar = a. BeginInvoke (10, null, null );
//
Data Structure example-heap sorting process
For the complete algorithm, see [routine]. This article uses an example to demonstrate the heap sorting process.
For example, heap sorting is performed on {57, 40, 38, 11, 13, 34, 48, 75, 6, 19, 9, 7.
After the Windows service is installed, it is automatically enabled.
Use DOS process to enable the Service
Set the Account attribute of the serviceProcessInstaller1 control to"LocalSystem"Set the StartType attribute of the serviceInstaller1
Data Annotation Feature -- MaxLength & MinLength, Annotation Feature -- maxlength
MaxLength attribute can be applied toStringOrArrayType property of a domain class. EF Code First will set the size of a column as specified in MaxLength attribute.
Use Where in and petapocowhere in PetaPoco
I have never cared about it before. I checked a lot of information today to know that using the in keyword in petapoco requires using the name parameter. Otherwise, it is invalid (or only the record of the
C # obtain the "Return Value" Code for executing the stored procedure,
The following code is C:
/// /// executes the stored procedure, return "Return Value" /// /// stored procedure name /// stored procedure parameters /// return values of
Learn how to call the WCF Service and call the wcf Service
1. Development Tools call WCF
This method is very convenient and simple, and a lot of work VS will help us complete. I believe everyone will not be unfamiliar with this method. Here is a
What is the difference between CheckStateChanged (check box selected status change event) and CheckedChanged (single-choice button selected status change event ?, Check box single choice
What is the difference between CheckStateChanged (check box
[C #] querying the standard normal distribution table
C # It is troublesome to calculate the normal distribution in the table.
Static double [] ayZTFB = null ;////// Calculate the standard normal distribution table /////////
Public static
C # DataSet performance best practices
1. Use ItemArray to assign values to DataRow in batches
When assigning values to all fields of DataRow, it is inefficient to assign values by column using field names. In this case, use batch field assignment
C # display the SQL statement format
-- SQL SERVER generates a test environment:
Create database Test; goUSE [Test]GOif OBJECT_ID('Tab','U') is not nulldrop table TabgoCREATE TABLE [dbo].[Tab]([ID] [int] NOT NULL CONSTRAINT [PK_Tab] PRIMARY KEY
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