The six principles of object-oriented transformation, and the six principles of object-oriented
Six principles of object-oriented:
Single responsibility principle, open and closed principle, internal conversion principle, dependency inversion
Some records of C # async and awaiit,
I. Recently I have been learning about the content of the ABC. We found that the authors used async and awaiit in large quantities when obtaining data. Well, because I don't know much about it, I search for it
C # process automatic report generation by Word I. Overview,
We often encounter such a requirement to generate a report in Word format, rather than simply a report in a table, just like a health check report.
The data source part decides to use a
Recursive algorithm,
A recursive algorithm is an algorithm that directly or indirectly calls its own functions or methods. (Call yourself)Recursion principle:
1. The function will always call itself until a specific condition is met (there must be
The feature of moving objects between reconstruction methods [3 ].
Total returned directory
Directory of this section
Hide Delegate (Hide "delegation relationship ")
Remove Middle Man (Remove Man in the Middle)
5 Hide Delegate (Hide "delegation
C # comparison and sorting (IComparable and IComparer and their generic implementations ),
Preparations:
1. Create an object class: ClassInfo, Which is sorted by the number of students in the class by default.
Public class ClassInfo{
/// /// Class
Features of moving objects between reconstruction techniques [2]. Features of moving reconstruction techniques between objects
Total returned directory
Directory of this section
Extract Class (extraction Class)
Inline Class (associating classes)
3
Orleans and OrleansIntroduction
This essay mainly records the course and understanding of Orleans, which will be updated throughout the learning process. The ideas and understanding may be somewhat biased. If you are lucky enough to see this article,
"Try": draw a few lattice images and draw a few lattice images.
This article is a personal attempt. The ultimate goal is to store offline data for Dot Matrix images.
This article only includes code for generating dot matrix images, not reading dot
C # implementation of the websocket timely communication protocol (Tutorial ),
1: Websocket has java, nodejs, python, PHP, and other versions. I am using C3 and Fleck on the server side. The following describes how to use websocket on the client
C # Some problems caused by config.exe,
1 public static void CreateConfig () {2 // c # You can add a built-in app. config. We can use the ConfigrationManager class to operate related nodes easily. The operation method is not described here, 4 //
C # truncation and conversion of strings, arrays, and lists,
Using System; using System. collections. generic; using System. diagnostics; using System. linq; using System. text; using System. threading; namespace ConsoleApp1 {class Program {/// ///
Reconstruction Techniques: reorganizing functions [4]. Restructuring manipulation functions
Total returned directory
Directory of this section
Split Temporary Variable (break down Temporary variables)
Remove Assignments to Parameters (Remove the
C # DES encryption and decryption,
Using System; using System. collections. generic; using System. IO; using System. linq; using System. security. cryptography; using System. text; namespace ConsoleApp1 {public class EncryptUtil {// // MD5 and
C # implementation of the eight major sorting algorithms (1 ),Introduction
Sorting algorithms are the most commonly used algorithms in programming. Currently, there are eight mainstream algorithms.
The average time complexity is from high to
C # Small memorandum,I. Brief Introduction
Memos, I believe they have been used in our daily lives, such as note taking and cell phone memos. These are the things we want to do on a regular basis when we are inspired, let's talk about my memo. My
Use of Topshelf, use of TopshelfI. Introduction
Topshelf can be used to create and manage Windows Services. The advantage is that you can create console programs without creating windows Services. Easy to debug.2. Official Address:
1. Official
Bad taste of code [4]
Total returned directory
14. Temporary Field (confusing Temporary Field)
1. An instance variable is set only for a specific situation
2. Some instance fields are set only for complex algorithms with less parameter
C # create, deploy, and call WebService,
Webservice can be used for interaction between distributed applications and between different programs.
There are not many conceptual things. The following is an example of creating a simple webservice.
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.