Self-Study C # has more than 20 days, during a trip to Shenzhen for a week, the average study of 4 hours per day, reading + video, before a bit of C language Foundation (only basic haha), plan 30 C # Basic grammar and SQL basic syntax familiar, the
Virtual tables that exist in memory DataTable, bound in the data display control, if you want to retrieve some of the information, you can use the DataTable.Select method to retrieve, avoid duplicate read the database. The Select method has a total
extension MethodsIn many cases we need to write a variety of help classes, because the official offer of the comprehensive, there will be not included in the place, then a static help class can help us solve the problemFor example, if you want to
Let 's look at a computational question and look at the arithmetic abilities of everyone.
0.1 +0.1 +0.1-0.3 equals a few?
People may say such a simple question, is not despise me? Must be equal to 0.
If the direct calculation is not a problem, but
Multi-state virtual methods, abstract classes, interfaces, and multi-state abstract class interfaces
Virtual method:
1. Add the virtual keyword before the return value of the parent method and mark it as a virtual method, which indicates that this
ViewModel and MVCViewModel in MVC
The ViewModel concept is not only available in the MVC model. You will see it in many articles about MVC, MVP, and MVVM, and this concept may be mentioned in any technology, for example, ASP. NET, Silverlight, WPF,
Use MVC to import and export, and use MVC to Import and Export
The import and export operations are very difficult for the people who have just done so, but it is very easy to understand the idea. I have studied it for a long time before I finally
C # decompress the package file,
First, you must reference the Class Library: using Ionic. Zip. This class library can be downloaded online.
The following encapsulation method is used for the Class Library:
Obtains the ZIP compressed stream object
C # The first Singleton mode,When we use QQ, we will find that he can start multiple QQ, but sometimes, we don't want to do this, at this time we need to use the singleton mode. 1. convert the Form2 constructor to private
Using System. Windows.
C # decompilation prevention,
C # The compiled code generates a dll or exe through the VS compiler. It is easy for some decompilation tools to view the source code or modify the source code.To prevent code from being decompiled or tampered with, we
C # how to add Word text and image hyperlinks,
A hyperlink is a content link. By setting a hyperlink, you can connect objects to webpages and sites. The link target can be a webpage, image, email address, folder, or application. The link object can
C # Winform tab integration form,
Knowledge points: Use reflection to dynamically load the form to the corresponding TabPage.
Using System; using System. collections. generic; using System. componentModel; using System. data; using System. drawing;
C "? "Modifier and "?? "Operator,
I.?Can be empty type Modifier
"?" To modify the null value type, add "?" After modifier, the value type can also be blank, for example:
Public int? CommandTimeout {get ;};
Var prop = new PropertyInfo (); prop ?.
Talking about the value type and reference type in C,
In C #, the value type and the reference type are two important concepts. The behavior of the type instance must be determined when designing the type. If you cannot understand the differences
"Remarks" & # x; format encoding conversion,
On many websites (or many WebServices ),
We can always see & #1234; & # A22A; encoding in this format.
C # code:
1 // various moth web page icons see: https://dev.w3.org/html5/html-author/charref 2 3
Secondary Development Based on C # Styline operations (draw line function ),
C # operate the styline model. Click the left button of the model to obtain the coordinates and complete the Line Drawing operation.
1: Click the model event
List pos =
C # List union, intersection, and difference set,
The Union of a set is the item of the merged set, as shown in:
List ls1 = new List() { 1,2,3,5,7,9 };List ls2 = new List() { 2,4,6,8,9,10};IEnumerable unionLs = ls1.Union(ls2);foreach (int item in
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