Steps to install/uninstall:1. . Click Start, enter CMD in the run, get command prompt Win7 need to be an administrator to start, otherwise cannot install2. Input: cd C:\Windows\Microsoft.NET\Framework\v4.0.30319 EnterToggles the current directory,3.
Commissioned:Pass the method as a parameterpublic delegate void AddDelegate (string name);public class ad{AddDelegate is an example of a delegate, passing the method as a parameter, logically separating, decouplingpublic static void Addhander
Windows uses a system: a virtual addressing system that maps the memory addresses available to the program to the actual addresses in hardware memory, which are managed entirely by Windows in the background. The actual result is that "each process
Looking at the usage of the previous delegate in http://www.php.cn/, we see that
public void Description (string programername, Descriptiondelegate Description) { Description (programername) ; }
This method when
1. Set a button centered on the panel
This.btnExit.Location = new System.Drawing.Point (PNLBUTTON.WIDTH/2, PNLBUTTON.HEIGHT/2);
2. Automatic sorting of multiple buttons on panel
Original state:
Code to adjust the order:
////Set button
Sequencing algorithm test program entry
Using system;using system.collections.generic;using system.linq;using system.text;using System.Collections;using System.diagnostics;namespace sort{class Program {static void Main (string[] args) {//test
C # Heap Ordering
Using System; Using System.Collections; Namespace sort {public class Heapsorter {public static int[] Sort (int[] sortarray) { Buildmaxheap (Sortarray); for (int i = (sortarray.length-1); i > 0; i--)
C # Hill Sort
Using System; Using System.Collections.Generic; Using System.Linq; Using System.Text; Namespace sort {Class Shellsorter {public static int[] Sort (int[] a) {shellso RT (a); return A; } public
#region multiple consecutive spaces in a string into a single space///////or multiple consecutive spaces in a string to a space//// Strings to be processed // strings after merging spaces public static String
Filter multiple field identifiers in List.
Class Program{Public static void Main (string [] args){
List list = new List ();List. Add (new T () {orderid = 1, houseid = 1 });List. Add (new T () {orderid = 1, houseid = 1 });List. Add (new T ()
Install and uninstall windows Services
1. Create a project and select windows Services
2. Add the installer
3. Modify the installation code
ServiceProcessInstaller processInstall; ServiceInstaller serviceInstall; public
C # Object persistence,
Object persistence is a technology that saves objects in memory to permanently stored storage devices (such as disks.
This article describes several Object Persistence Methods except databases.
The details are as
Special string type, special string type1. Preface
String belongs to the reference type. Do you know this? However, in the process of usage, we find that it still has some value-type features. Why?
The reason is that. Net considers that when a large
Multi-colorwin (colorful Window) color folder, colorful
I plan to post a blog every week, but whenever I prepare to post the content, I find that there are already many introductions on the internet, and I am not as comprehensive as others, so we
C # DotRas-based VPN management,
Some websites in the work environment are blocked by the company. a vpn management tool is specially designed to enable connections when you want to access websites blocked by the company. It is very convenient for
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