There are various plugin samples included with the Plugin SDK that demonstrate its different functionality.
Samples are offered in C# and VB.NET. C# samples can be found in the samples-cs directory, and the VB.NET samples can be found in the samples-vb folder.