C # in the video, there is a set of calls to components, a simple small program, but it feels very interesting. Let's record it a little.
In the process of team development, we can split a project into countless work components and allocate them to every development group. Then it is developed into components, and then assembled through certain assembly. Compiling a software is like building a building. It completes the system functions step by assembling components.
First, create a class library and save it after it is generated successfully.
Namespace TiGaoBan {public class TGB {public static void show () {Console. WriteLine ("welcome to the Advanced Course! ") ;}Public static void show (string message) {Console. WriteLine (message );}}}
Create a console application.
Namespace ConsoleApplication4 {class Program {static void Main (string [] args ){}}}
Again, add reference and find the class library. dll file we just created.
Then, declare the namespace with the using keyword. You can directly call the class library.
Finally, generate and run the results