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.
///entity class serialization deserialization class////// Public abstract class Entityclassxmlserializer {/////entity class serialized into XML string //// public static string toxmlstring (T entity) {using (MemoryStream
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
Original address: Click to open the link
See a blog post on the home page today-simply talk about Unicode and UTF-8, and learn that UTF-8 is a way to implement Unicode:
Unicode only provides a uniform binary number for each character in the
Reflection
The reflection mechanism is in the running state, for any class, can know all the properties and methods of this class, for any one object, can call any of its methods; This dynamically acquired and dynamically called method of the object
Needless to say, the code is directly affixed, the specific code is described as follows:
/////////// Source data /// Object data /// variable name corresponding dictionary public static void Copyto (This object origin, T target,dictionary dict)
Dataset.acceptchanges Method:
Commits all changes made to the DataSet since it was loaded or last called AcceptChanges.
Both DataRow and DataTable classes have AcceptChanges methods. Calling AcceptChanges at the DataTable level invokes the
If the Datarow.delete () method is called, the RowState property of the corresponding row is set to datarowstate.deleted. When the state of a row is datarowstate.deleted, we cannot normally access this line. If you need to retrieve the raw data that
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
Unable to embed the interoperability type, embedded operation type
When I modified the MIME type during the automatic deployment of iis recently
IISOle. MimeMapClass TwoMime = new IISOle. MimeMapClass ();
When the com-Type Library Active ds
Flexible Use of class methodsConstructor: constructor is a special method in the class. It mainly completes object initialization and the specified work when creating an object. In addition, the constructor method name and class name are the same
Unity3D tutorial 2: create a game project and interface, unity3d tutorial
Create a project
U3D does not support Chinese well. Do not use Chinese as much as possible.
Click Create
Interface created successfully
The scenario comes with a
C # Analysis of IEnumerable and IEnumerator interfaces,
It is necessary to review the basic knowledge and deepen understanding and memory.
Foreach is often used to access the set cyclically. it traverses the containers that implement the IEnumerable
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 ()
. NET methods and. net Methods
1. return in the method terminates the entire method segment.
Break can only terminate the current loop.
2. The method is to reuse a pair of available code.
A. for reusable code, right-click vs to reconstruct the
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
Supports standard libraries and OSS. httphttpclient for underlying HttpClient reconstruction and encapsulation of oss. Http
The OSS. Http project's support for the. Net Standard library has been migrated, and the two bottom-layer libraries of the
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
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