Feed on
Subscription

C# study the following day



Foundation of theory of the second chapter - public language runs an environment

Since you had had the impression with overall C# ,The full view that I also think to let you understand NGWS Runtime.When C# relies on what offer by NGWS to move;Because of this,How to when be necessary to know to move, work,And its backside place accumulate contained concept.
So,Branch of this one regulation is two parts -- they are all concepts and use base.Although the content of two parts has some of jackknife,But it conduces to the concept that deepens understanding to learning.

...

C# learns the third day



Universal language standard (CLS) -- the subclass that CLS defined the kind in VOS,The usage that also defined convention.If kind of regulation that the library abides by CLS,It ensures kind of library is OK in other use on all programming language that can realize CLS.

...

C# learns the fourth day



The first C# applies the third rule program
?
3.0 chooses an editor

Although I am a stubborn Notepad mad,But this I do not suggest to edit a source with it.The reason is you are in with true programming language contact with,The possibility when use Notepad edits a source to compile arises many wrong message to go (C++ programmer knows what I am saying.The possibility when use Notepad edits a source to compile arises many wrong message to go (C++ programmer knows what I am saying.

...

C# learns the fiveth day



Type of C# of the fourth chapter

Since you knew how to establish a simple C# program,The type system that I will give you to introduce C# .In this one chapter,You are acquired how to use be worth and cite differently type,Add casing and disappear casing mechanism what to can make for you.Although of this one chapter do not emphasize particularly on at example,But you can acquire a lot of important information,About how establishing the program of off-the-peg type.

...

C# learns the sixth day



4.2 cites type

Than with value kind photograph,Cite the real data that the type does not store they represent,But they store the adduction of real data.Offer in C# cite below the type is used to you:
·Object type
·Kind type
·Interface
·Represent yuan
·String type
·Array

...

C# learns the eightth day



5.2.2 adapting method

The important principle of object-oriented design is much condition sex.Do not understand profound theory,Much condition sex is meant:When base kind programmer already had been designed at adapting method with,In derive kind in,You can be defined again (adapt) base kind method.Base kind programmer can devise a method with Virtual key word:

...

C# study empyreal



Used additional New decorates accord with,Compile implement know you were defined again base kind method,It should screen radical kind method.But,If you press the following means to write:


DerivedClass Test = New DerivedClass();
((BaseClass)test).TestMethod();

Base kind methodological implementation was called.This kind of behavior is different from adapting method,Latter makes sure major derive method is obtained call.

...

C# learns the tenth day



This kinds only a method,It allows us to spark incident.Notice please,You must enter what member of travel incident region is not Null to detect,Because may appear to be interested in this kind of circumstance to incident without the client.

...

C# learns eleventh day



5.5.3 accesses got-up accord with

Accessed got-up accord with to define certain code to be opposite kind of member (like method and attribute) access grade.The access that you must give every member to add a hope decorates accord with,Otherwise,Acquiescent access the type is implicit.

...

C# learns dozenth day



The sixth chapter controls a statement

Have a kind of sentence,You are in statement of technological process of control of every kinds of programming language is OK find.In this one chapter,The control statement that I introduced C# ,Their cent is two bodies:
.Choose a statement
.Circular statement
If you are C or C++ programmer,A lot of information can let you feel be like ever similar;But,You must know they still are existing a few differences.

...
« 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 »