SimpleLink is very simple .NET/Link example program demonstrating various methods from the IKernelLink interface. Look at the .NET/Link API Help file for more information on .NET/Link programming.
The source is provided in C# and Visual Basic .NET versions, and there is also a compiled program, SimpleLink.exe.
You will notice that a copy of the .NET/Link assembly, Wolfram.NETLink.dll, is located in the same directory as SimpleLink.exe. The typical deployment scenario for .NET/Link applications (and in fact all .NET applications) is to include all dependent assemblies in the application's directory (or a subdirectory). Although you may already have a copy of the Wolfram.NETLink.dll assembly in the .NET Global Assembly Cache, it is convenient for compiling to have the assembly in the same directory. You are also strongly advised to distribute your .NET/Link applications with a copy of Wolfram.NETLink.dll alongside. If you do not do this, and instead rely on other users having the .NET/Link assembly in their GAC, you will find that your program fails to run unless they have exactly the same version of the .NET/Link assembly as the one you compiled against. If you distribute Wolfram.NETLink.dll alongside your application, it will always run regardless of conditions on your users' machines.
You can use Visual Studio .NET to compile this program, but here is how to do it using the command-line C# and VB.NET compilers, which are included free with the .NET Framework SDK (and with Visual Studio .NET of course). First, make sure that the compilers (csc.exe or vbc.exe) are on your PATH. If you have Visual Stuido .NET installed, the easiest thing to do is use the "Visual Studio .NET Command Prompt" choice in the Microsoft Visual Studio .NET/Visual Studio .NET Tools program group on the Start menu. This will open up a command window with all the required environment variables set correctly.
From the comand line:
csc /target:exe /reference:Wolfram.NETLink.dll SimpleLink.cs
From the comand line:
vbc /target:exe /reference:Wolfram.NETLink.dll SimpleLink.vb