Own understanding of1. Arrays:Advantages: (In-memory) storage continuous, fast indexing, multidimensional, type-length fixedCons: Need to specify length, insert data is inefficient2.ArrayList: (System.Collections)Pros: No need to specify length
1. Serialization of objectsThe serialization of an object is the process of translating the state information of an object into a form that can be stored or transmitted. The deserialization of an object is a process that is reversed from
C # data types are divided into three categories, value types, reference types, and pointer types. Pointer types can only be used in unsafe mode, whereas value types and reference types may be converted to each other through unboxing and boxing
From 51CTO Blog: http://cnn237111.blog.51cto.com/2359144/1271600In the era of. NET 1.1, there are no TransactionScope classes, so much of the processing of transactions is given to SqlTransaction and SqlConnection, each transaction based on each
1. First create a new Web site Axpx page on the server sideThen the site of the background write code to get WinForm sent over the file name.Statement: Although this method is the simplest and most convenient, but upload large files may be error, my
Request.applicationpath Returns/or IIS under directory. If the personal site is a new directory under the IIS Web site AAA, return such as:/AAARequest.Url.Authority return domain name and port or IP such as: localhost:1897var applicationpath
Get data from Get overprivate static NameValueCollection GetInput (System.Web.UI.Page Page){Return page. Request.QueryString;}Example:String Re = "";public static bool Analysis (string cmodule, System.Web.UI.Page Page){NameValueCollection NVC =
Get the data that comes in postprivate static string Postinput (System.Web.UI.Page Page){Try{System.IO.Stream s = page. Request.inputstream;int count = 0;byte[] buffer = new byte[1024];StringBuilder builder = new StringBuilder ();while ((count =
1, the first is the data transfer between forms, and the control of the associated form?In the parent form, a new subform comes out, the constructor for the form is set to a parameter, the parent form's parameters are passed through the constructor,
Http://www.developer.com/net/csharp/top-10-c-6.0-language-features.html1, single-line function expressionUse + = To simplify only one line of functions.Class employee{ //Method with only the expression public static int calculatemonthlypay (int
classImport {/// ///import Excel into the dataset/// /// the file's path and full file name, with extension /// PublicDataSet Exceltodataset (stringstrfilesourse) {DataSet DS=NewDataSet (); //Excel Data source
2014 is about to pass, this year I participated in a lot of interviews, was asked a lot of questions. Come back to the conclusion found that they do have a lot of shortcomings in the foundation, there are a lot of things I do not know. In the second
Design the type of event to expose
1 //define the type to accommodate all additional information that needs to be sent to the event-pass recipient2 Internal classNewmaileventargs:eventargs3 {4 Private ReadOnly stringM_from,
The tag is used for general data loops and has the following properties
Properties
Description
Whether you must
Default value
Items
Projects that are looping
Whether
No
Program C demonstrates the process of producing zombie ProcessesCopy the following online description of the zombie process:Zombie Process: A process uses fork to create a child process. If the child process exits and the parent process does not
[Original] serialization of objects in C ++, serialization of original objects
1. Object serialization
Object serialization refers to the process of converting object state information into a form that can be stored or transmitted. Object
Distance on the board
Problem descriptionThe chess board is a black and white 8x8 square. the chess board is placed in the middle of the grid. :
The following are the rules for Wang, Hou, Che, and Xiang:
Wang: horizontal, straight, and oblique
GetClientRect (), GetWindowRect (), getwindowrect
GetClientRect () is the RECT of the customer zone in the coordinate system of the customer zone.
GetWindowRect () is the RECT of the entire window in the screen coordinate system.
GetSystemMetrics (
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