Object-Oriented Programming Overview (a teacher who first lecture)

  • EnvironmentSetUp

windows version (memory and hard drive) + HTTP install software (fei, can continue to download after pause) + virtual drive software (DAEMON Tools read the downloaded .ISO disc image file)

CSharp and DotNet

  • C # programming language, author: Anders Hejlsberg,

Microsoft .NET development of object-oriented software development and operating platform, .NET technology as the core .NET Framework = Common Language Runtime (operating environment) + base class libraries

After Windows Vista, Windows preinstalled .Net 

  • Use Visual studio 

Integrated software development environment, VisualStudio can create a variety of project types, Console (console application), winform (application form), WPF, Class create a .dll library.

, Project folder solution = 1 + project 2, EXE file is the source code files .CS after Visual studio compiled binary files (the machine can be identified) in the debug file.

Click Generate EXE file that is generated. When cleaning solution Debug folder is empty. EXE files can be freely copied to, .NET with a corresponding version to run.

  • Overview of object-oriented programming and operating principles for .Net

Operating procedures principles: the source code .CS storage (hard drive), compiled as C # VB.Net need executable EXE and DLL (executable files into a managed and unmanaged, hosted the program for the third-party software in the external memory . unmanaged C, C ++ does not require third-party software hosting means that you want to run in a separate operating environment, CLR to run, it can be seen as a virtual machine dedicated to running .NEt .EXE and DLL program into intermediate language IL, the CLR compiled to native code, native code execution system) operating system to transfer the executable file into memory, the CPU of accessing an executable file.

1 set up a data structure 

2 selection algorithm

3 programming

Top-down design, programming calls from bottom to top, try to avoid stratification call.

The first lecture ended.

Harvest: code compilation process, .CS .EXE executable file, a managed and unmanaged program. Program development ideas: data structures, algorithms, programming.

In order to increase reuse code, the code can be encapsulated. .Net platform a large number of good package base class, do not need to develop their own, direct reference to a namespace, wherein the method may be used.

 

Guess you like

Origin www.cnblogs.com/LljCoder/p/11027240.html