1. Prepare windows APIs, which are developed in C #. Therefore, prepare windows APIs encapsulated in C. You can download it at the following address:
C # Windows API encapsulated by Version C, simplified version + added version, source
I. Logical Structure of a linear table
Linear table definition
1) A linear table (List) is a finite sequence composed of n (n ≥ 0) data elements of the same type.
2) The formal definition of a linear table is as follows: The linear table (List)
Let's first define some common type variables to illustrate
Int I = 100;Long l = 2001;Float f = 300.2;Double d = 12345.119;Char username [] = "Woman Cheng peijun ";Char temp [200];Char * buf;CString str;_ Variant_t v1;_ Bstr_t v2;
1. convert other
C # No class is provided for playing audio files such as MP3. To write audio file programs such as MP3, you must use third-party controls or classes. This article uses the API function mciSendString to compile a class for playing audio files such as
Creating a dll file in VC ++ in the past cannot be simple, but in Visual C #, this is also a breeze. The introduction below is divided into two parts: 1. Create DLL; 2. Test dll on the client.(1) create a DLLFirst, create an empty class library
Defines a stack class for storing data in the stack and operations on the data!
Class SeqStact {Private int maxsize;Private T [] data;Private int top;
Public int MaxSize{Get {return maxsize ;}Set {maxsize = value ;}}Public int Top{Get {return top ;
Here is a summary of the pointer!
Procedure 1:
Int I = 1;
Const int j = 1;
Const int * p = & I; // This is actually compiled. That's right. Here is the focus!
(* P) ++; // compilation failed!
The point here is what the const int * p pointer
Application instance:
String to be processed: str = "display = test name = mu display = temp"
Requirement: change the value after display = to localhost.
JS processing method:
str.replace(/display=\w*/g,”display=localhost”);
C # solution:
Regex
The tree structure is placed in WPF, with familiar TreeView, Menu/MenuItem and so on. The custom structure is HierarchicalDataTemplate.
In MVVM mode, view and data separation means that you no longer need to manage the UI, and you no longer need to
Document directory
VIEWMODELS
In the previous article, we started the development of purchase orders. After talking about how to bind the Combo Box to the ViewModel set, we also display other information about the selected items in the
Document directory
Test object: CanExecute of ICommand
Test object: Execute of ICommand
Others
Summary
In the previous article, I will stay here to introduce how to test it, because I will not test it if I don't, right. If it is a unit
An interface is the standard of a class (thing). It specifies the methods and attributes of a class (thing. to implement an interface, a class (thing) must implement its methods and attributes. we can simply understand a single class (thing). For
Format a number
Description of format characters and associated attributes
--------------------------------------------------------------------------------
C and C currency formats.
In decimal format.
E, E scientific count (INDEX) format.
F and F
C #3.0 brings powerful method-based Query (LINQ. To make it easier for developers to use LINQ, Microsoft has introduced two new features:
Lambda and Expression. Lambda is a simple way to write an anonymous method. The relationship between Expression
Source: http://developer.51cto.com/art/200908/145191.htm (seems to have turned to the blog Park)
C # users often ask two questions: "Why should I write additional code to use the built-in Windows? Why can't I complete this task for me without
C #3.0 introduces new features. The extension method can greatly increase the beauty of your code, and the extension method provides your extension. NET Framewoke class extension path, writing and rules are also simple.
There are several
"Lambda expression" is an anonymous function and is a new feature introduced in C #3.0.
Lambda operator =>, which is read as "goes ".
The following code demonstrates the appearance of a Lambda expression:
Code highlighting produced by
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