When I recently executed an insert script in sqlserver, I found that an exception "beyond the field length" was thrown. After checking that it was caused by inconsistent field types, the guid occupies 36 characters, the declared field length is
This article provides a preliminary summary of the "C #" basic knowledge from the "Basic" and "Object-Oriented" aspects. Some problems may inevitably occur during the summary process. I hope you can give more advice!
Basics:
Reading directory
1. What is metadata?
Ii. Overview of reflection in the. NET Framework
1. What is metadata?
Metadata is the data that describes the data. It is stored in the PE file. The PE file consists of IL code and metadata. The metadata is.
C language in LinuxProgramThe biggest problem is that I don't have a good programming ide. Of course I want kdevelop and other tools to be quite powerful, but I am still used to using kdevelop tools. Because I don't have a habit of programming IDE,
Recently I am working on a winform application.ProgramWhen the MDI form is used, a lot of trouble is encountered. One of them is how to solve the problem of not letting the child form be instantiated multiple times.
I have searched the internet
I occasionally saw the introduction in C ++ primer last night.Extern "C"In that section, I was a little confused and thought it seemed a bit wrong. I remember reading this section before, and reading several articles about it. This time I am
I read introduction to algorithms last night. One example is insert sorting. In the morning, I implemented the algorithm in C language. I thought I understood the algorithm I saw last night. But some problems still occurred during implementation. We
Reading directory
I. Preface
II. Implementation steps
Iii. Running Effect
I. Preface
Previously, I worked on interface docking in an e-commerce company to synchronize the order data sent by the express delivery company to our website. Here I will
Reading directory
I.. NET Framework
2. Common Language Runtime CLR)
Iii. Class Library)
I.. NET Framework
NET Framework.. NET Framework, which is an object-oriented software development and operation platform launched by Microsoft ,. NET
Preface
The XmlReader class provides fast access to the content of an XML document, but is not suitable for modifying the content and structure of the document. XmlReader reads data from the top of the XML document, read a node each time
Reading
201212041. the header file does not participate in compilation.2. Three classes A, B, and CA. cpp contains B. h. Then Class B variables can be defined in A. h, or B pointer variables can be defined.If C. cpp needs to contain A. h, it cannot be
In C #, there are also three common serialization Methods: BinaryFormatter, SoapFormatter, and XML serialization.
Sequence refers to the process of storing the instance status of an object to the storage media.In this process, first convert the
Lock Statement (C # reference)
LockThe keyword marks the statement block as a critical section by obtaining the mutex lock of a given object, executing the statement, and releasing the lock. The statement format is as follows:
Object thisLock =
Object-oriented Program
Design
(Object-Oriented Programming, short as OOP) is a very powerful Programming method designed to create software to reuse code and think about Programming issues based on classes. Class is the core component of OOP,
The idea of oo programming has become more and more common,
However, some basic things are still vague,
For example, the call sequence of the base class and subclass.
Here I use c # as an example to show you how:
(The capability is limited. If you
Reference
Using System;
Using System. Data;
Using System. Web;
Using System. Web. UI;
Using function;
Namespace count
{
Public class Vister: Page
{
SqlCmd ss = new SqlCmd ();
FileCmd ff = new FileCmd ();
EventLog even = new EventLog ();
Datetime
The. Net Framework has rich library support provided by CLR,With little code, you can implement encryption algorithms that are hard to implement in old languages such as C.
Today, I spent some time integrating and encapsulating some common secret
I simply wrote a small program and compared the various Lock speeds in C # (the premise is that they are not in the wait status ).
The locks are dropped 1 kW each time. The result is as follows:
Lock
Time (MS)
CriticalSection
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