1. C # source code files, including in their own projects
2, class library, suffix name is. dll
Advantages: You write a method that others do not see the implementation process, strong confidentiality
Cons: If you write a method with errors, others cannot change
Commissioned:
Pointers that can be understood as functions
Delegate-Defining keywords
declaring delegate types
public delegate int Firstdel (int aaa, int bbb);
Create delegate variable, assign value, function point to
Firstdel f1 = new Jiajian (). Jia;
int c = F1 (10, 20);
var: universal type
Object: base class for all types
As: type conversion, if the conversion is unsuccessful, does not error, but returns a null
is: Determines whether a variable/object is a certain type, returns a bool value
Generic collection: List<t>
A set of fixed-length, invariant types
List<jiajian>list=new list<jiajian> ();
Class Library Delegate