After several years of development, I did not summarize anything. I went back to my hometown to become a trainer in a training class and taught me about software development. A little bit of knowledge is coming from the ground up. Or you have missed
C LanguageCodeIs organized in the unit of files, in a sourceProgramIn all source files, an external variable (not a local variable) or function can only be defined once in a source program. If there is a repeated definition, the compiler will report
The plus sign in C # has two meanings:
1. Addition OPERATOR: when both sides of the addition symbol are numerical values, perform addition operation.
2. indicates the function of connecting characters: when both sides of the addition symbol are
Original article http://www.tommti-systems.de/go.html? Http://www.tommti-systems.de/main-Dateien/reviews/languages/benchmarks.html
A very old articleArticleHowever, the results are enlightening and indicate the differences in the performance
Nonsense: recently encountered projects found that when winform obtains a large amount of data, the interface is suspended and the experience is very poor. As a tester, we have the obligation and responsibility to raise bugs. Every test is faced
The use of split is summarized as follows: 1. Single Character Segmentation: String S = abcdeabcdeabcde;
String [] sarray = S. Split (C );
Foreach (string I in sarray)
Console. writeline (I. tostring ());
Output the following results:
AB
Deab
C #ProgramWeek
String time = calendar1.selecteddate. dayofweek. tostring ();//Calendar Control
String time = datetime. Now. dayofweek. tostring ();
However, the English day of the week is obtained.
Dayofweek The returned result is
C # super-class and easy-to-use strings
(This article is intended for children from rural areas who cannot afford to learn. Amitabha)
A string can be viewed as a char read-only array.
The character string in C # has an important feature:
The use of destructor and namespaces in C #
Destructor ~
The Destructor cannot be defined in the structure. Only destructor can be used for classes.
A class can have only one destructor.
The Destructor cannot be inherited or overloaded.
◇Control input verification:
Processing: InCodeCollect all input error data, and display the data at the last time. This may be convenient for you to remind you that you do not need to prompt every time you enter a control.
◇Touch Screen
1. Do
C #
Classes in are organized using namespaces. A namespace provides a way to logically organize classes to prevent name conflicts.
Namespace Declaration
UseNamespaceA keyword is used to declare a namespace. This namespace range allows you
Enumeration is a value type used to declare a group of named constants.
(1) Enumeration Declaration: The enumeration declaration is used to declare a new Enumeration type. Access rhetoric Enum enumeration name: Basic Type{Enumeration member}The
There are many Input and Output Functions in C language. The standard I/O functions include the following common functions:Scanf, printf, GETC, putc, getchar, putchar, gets, puts, fgets, fputs, fgetc, fputc, fscanf, fprintf, etc.
Int scanf (const
You can call two APIs in kernel32.dll: writeprivateprofilestring and getprivateprofilestring to read INI files.The specific implementation code is as follows:
Using
System;
Using
System. drawing;
Using
System. collections;
Using
Similar to a class, the structure indicates the data structure that can contain data members and function members. However, unlike classes, the structure is a value type and does not require heap allocation. A variable of the structure type directly
Example 1
Objective: To convert each character in a string into a binary string (for example'Data'InDConvert00100010, The whole is 00100010100001100010111010000110)
Processing logic: String result = strtobyte ("data"); result is 00100010100001100
Original article address:
Http://www.cnblogs.com/Zeech-Lee/archive/2011/10/14/2212376.html
Nonsense: recently encountered projects found that when winform obtains a large amount of data, the interface is suspended and the experience is
A group of friends in a certain WPF exchange group asked about the tools for converting XAML to C #. At present, there seems to be no such tool.Program. I suddenly realized that C # is required to dynamically generate the XAML in some cases. 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