Recently, I have read about Objective C # And I have not understood the delegate and event sections. So I have a deep understanding of them. Below I will briefly record some of my personal understandings.
First, let's look at the delegation.
I have been in the new company for six months. I have been working on. NET C # development. With the development experience of. Net for 2 years,. NET is quite familiar. Think about the framework used by the company. It can be said that it is the
Due to resignation, I am busy looking for a job recently. During this period, I received a computer test question from a company. There are two questions in total, one of which is about the application of rest API. Although I have already said that
A more important idea in C ++ is that user-defined types can be easily used as built-in types. By defining new types, users can customize languages for their own purposes. This powerful tool is very dangerous if it is used incorrectly. In fact, the
ABSTRACT Data Type
One of the requirements for designing a good library is to thoroughly isolate interfaces and implementations. c ++ uses constructor, destructor, and member functions:
One of the basic methods to separate interfaces from
// The constructor name must be the same as the class name and has no returned value.
Class A: object {// This indicates that Class A inherits the object
Public A (): Base () {}// this indicates that the constructor of the parent class object is
Private string name;
Private string age;
// The following code is equivalent
Public void setname (string values ){
Name = values;
}
Public String getname (){Return name;
}
Public void setsex (string values ){
Sex = values;
}
Public
I have never created an object array in C # before. I wrote a small exercise today and it will not be used when I use an object array.
Creating an object array in C # is not like C ++.
Code:
View plaincopy to clipboardprint?
Student []
For C in Linux, the GCC compiler is used for compiling, and the source code of the kernel is also dependent on the corresponding GCC version.
Because a large number of double-stranded tables are required in the kernel, the data structure of the
First check what is strong name assembly, see Baidu encyclopedia post: http://baike.baidu.com/view/1145682.htmSimply put, it is to solve the Windows DLL hell problem, that is, different companies develop a program assembly with the same name to
In this article, we will introduce a technology that uses template matching to implement type screening.
First, the type is the abstract of the numeric value, so we can start from the simplest screening of the number of compilation periods. If you
Today, I am paying attention to the new features of C #4.0, which may no longer be excited for 4.0 of old players...When I was a beginner at LINQ, I found that the VaR type was very strange. In order to let the return value of the LINQ query be used
in front of date-time text. Corresponding to class name 'sun' & 'moon'-->
C # Assembly definition:
1. An assembly is a logical combination of one or more managed modules and some resource files.
2. An assembly is the minimum unit for Component Reuse
Chapter 1 ConstantsA constant is an identifier whose value remains unchanged during running. The C language uses # define to define constants (called macro constants ). In addition to # define, the C ++ language can also use const to define
Using system;
Namespace selectionsorter
{
Public class selectionsorter
{
Private int min;
Public void sort (INT [] list)
{
For (INT I = 0; I
{
Min = I;
For (Int J = I + 1; j
{
If (list [J]
Min = J;
}
Int T = list [Min];
List
Using system;
Namespace insertionsorter
{
Public class insertionsorter
{
Public void sort (INT [] list)
{
For (INT I = 1; I
{
Int T = list [I];
Int J = I;
While (j> 0) & (list [J-1]> T ))
{
List [J] = list [J-1];
-- J;
}
List [J] =
Using system;
Namespace bubblesorter
{
Public class bubblesorter
{
Public void sort (INT [] list)
{
Int I, j, temp;
Bool done = false;
J = 1;
While (j
{
Done = true;
For (I = 0; I
{
If (list [I]> list [I + 1])
{
Done = false;
Using system;
Namespace shellsorter
{
Public class shellsorter
{
Public void sort (INT [] list)
{
Int Inc;
For (INC = 1; INC
For (; INC> 0; INC/= 3)
{
For (INT I = inc + 1; I
{
Int T = list [I-1];
Int J = I;
While (j> Inc) & (list
First, temporarily record the page and there will be time to do it later. This is mainly because there is a resource file, which corresponds to English, simplified, and traditional. The current situation is the most comprehensive English, followed
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