Creating Dynamic Link Libraries in C# is as easy as creating exe files, and a great way to facilitate reuse of code.

The file contains IsEven(int n) method, which returns true if n is an even number and false otherwise. We want to make this method available to other applications.

That's it: the compiler generated MyLib.dll, ready to be used by other processes.

Continue...