Made a Mind Map ~
Arraylist and array
1. Declaration and instantiation of ArraysView code
Type [] array-Name Data Type [] array name; string [] names; names = new string [5];
2. Set and access to array elementsView code
Setvalue method
Let's take a simple process. 1. Define a delegate first, but most of the time you don't need it, you can directly use the system. Public Delegate void sampleeventhandler (Object sender, sampleeventargs E); 2. Define events in the class. Public event
Using menu controls in C # winform, I think menustrip is the first choice for many people. I will not talk much about how to use it. I will talk about my experiences in using it. Previously, when using this control, you only knew to manually enter
Because ssoaxctrlforptlogin. ssoforptlogin2 has made some restrictions, it cannot be directly referenced in C. No way. You can only use webbrowser!
function getqqlist(){for (var ii=0 ;ii
Three steps
1. Open the login URL. N multiple parameters are
// Solution-advantage: only the C standard library is used; disadvantage: only seconds are allowed# Include # Include Int main (void){Time_t t = time (0 );Char TMP [64];Strftime (TMP, sizeof (TMP), "% Y/% m/% d % x % A % j day % Z this year",
In short, you can create shortcuts for programs to monitor Keyboard Events. Many software applications use the hotkey function. You can use the following code to create two or three shortcut keys.
This is the code written yesterday when I used C #
Event
When other classes or objects are concerned, classes or objects can notify them through events. The class for sending (or triggering) events is called "publisher", and the class for receiving (or processing) events is called "subscription
The following is a small program interface for changing the network IP interface based on the above ipprovider.
Because the network configuration is different between the home and the company, and I bring my notebook back and forth with the company
1. Avoid placing multiple classes in one file.
2. A file should have only one namespace. Avoid placing multiple namespaces in the same file.
3. A file should contain no more than 500 lines of code (excluding the code generated by the machine ).
4.
The calculation results of the two are the same (for their respective calculation objects), but the performance is different.
& |: Logical operator
& |: Bitwise Operator
A and B are both true and true.| Yes or, a | B is true if either of them is
Recently, in this project, we need to write a UDP underlying communication class in C. After reading two books, everything in the book seems simpler.
Later I consulted experts on some ideas. Three threads: 1-for sending data packets; 2-for receive
Open source Aspect-Oriented Frameworks in
C #
Aspectsharp-Aspect # (pronunced as aspectsharp) isFree AOP (Aspect Oriented Programming) Framework for the. NET Framework, itUses dynamic proxies and xml configuration files as basis.
See all
0. serialization Concept
Serialization is the process of converting an object into a format that is easy to transmit. For example, you can serialize an object and Use http to transmit the object between the client and the server over the Internet.
Code, the public steam object must call the control center object, so there is a situation we have been reluctant to see: two types are closely coupled. Since other types need to respond to their own behaviors, it seems inevitable to call methods of
Cookie. aspx
mycookietest
Javascript-> C # Javascript add COOKIE: Enter the cookie value: C # Get COOKIE: The cookie value: C #-> JavaScript C # Add COOKIE: Enter the cookie value: Javascript get COOKIE: The cookie value:
Cookie. aspx. CS
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