C # read the process, did not be able to summarize in a timely manner, resulting in the study efficiency of the latter did not mention, has seen the knowledge, to the back of the study, no impression. Learning and doing things, from the beginning should have a macro understanding, watching the video, you can take a quick look at each episode, and then a simple picture of each episode of a mind map, this will have a good understanding of the macro of the video, the content can be carefully written in the form of notes, organized, This kind of learning feels very efficient.
watched c# video, after a book, Material in hand Zhu Guangming teacher to c# c# vb c# is an object-oriented language, object-oriented in today's programming is too important, encapsulation, inheritance, polymorphism. Abstract class and abstract interface, so that the system high cohesion, low coupling characteristics. Maintainable, reusable, scalable, flexible, object-oriented technology that greatly facilitates our work and efficiency, and increases the life of the system.
by learning videos and reading books, C # These parts are mainly included in the diagram.
1.Development Platform
in .net platform with c# code to operate, so we need to start with the most basic environment, After the same understanding of the big environment, to the details of the better control. .net platform is a development platform. by 5
( 1 ) . defines a common language subset, a mixed language that provides seamless integration between a language and a class library that conforms to its specifications.
( 2 ) . Unified Programming Library to provide standard for next-generation network communication XML the full support.
( 3 ) . realize the revolution in human-computer interaction.
anyway. . NET is an object-oriented network to support a variety of user terminal development platform environment.
knives do not mistake wood workers, visual development tools Visual stdio.net Tools, we must first from the familiar with the software, familiar with the software on the back of our code operations, can play a role in facilitating, to a large extent, the convenience of our programming. Familiarity with the software will inspire our passion for creativity. When there is a code problem, we can skillfully know how to debug, how to quickly find the problem, and solve it.
2.Grammar Basics
with good C # then it is necessary to start with its basic knowledge, and the advanced aspects of anything are basic content through various complex combinations and logical programming. Original aim, master the foundation can be improved faster. C # syntax Basics, Understanding C # data types, constants and variable definitions, each language has flow control statements, which are made up of selection, loop and order, and we are early to the different languages.
3.Object-oriented features
C # and learning of VB The biggest difference is in the object-oriented part, object-oriented programming is the core programming method of the fourth generation language. It makes the systems we make more robust and has great advantages in both function and performance, as well as maintenance and expansion. Software is not just to realize the function, but to think how to write the best code to achieve the same function, so that the system memory consumption, how more flexible. The design pattern is mainly C # code, sorting and summarizing good C # content, in the design mode of learning will be more relaxed.
Class is the soul in object-oriented programming, and is the concrete manifestation of data encapsulation. To understand the members of classes and classes. The difference between classes and interfaces. The three main characteristics of object-oriented: encapsulation, inheritance, polymorphism.
Encapsulation: Each object contains all the information it needs to operate.
inheritance: The inheritance of an object represents a " is-a "relationship. Subclasses inherit members of the parent class: Methods, Fields, properties, events, index indicators. Calls the members of the parent class, which can be used with the Base keyword.
Polymorphic: Different objects can perform the same actions, but they are executed by their own implementation code.
4.Processes and Threads
Process is a process of execution of a program, is a system scheduling and resource allocation of a separate unit, which is composed of private virtual address space, code, data and other operating system resources.
A thread is a unit of execution that is smaller than a process, producing multiple threads during a process execution, forming multiple thread of execution.
when the program is called into memory by the system in the way of process, the system assigns some resources to the program. ( e.g. memory, device, etc. )
5.Controls and databases
C # the use of controls, we are only familiar with the properties of the control, events for better operation, and this requires our continuous practice, with code to deepen our understanding. There is the operation between C # and the database, did the computer room charge and student management system, a certain understanding of the database,vb and the operation between the database, through the VB We can learn by contrast. C # The application of the database
Summarize:
through C # learning, the object-oriented has some understanding, through the implementation of the code to feel the flexibility of object-oriented technology, with abstract classes and interfaces to reduce the specific coupling between the separation. Through the contrast between C # and VB , language in many ways is interlinked, as long as the learning of different languages between the various places can be
The global view of C #