A vital skill (in my opinion) for a .NET developer is the ability to translate one CLR language into another. 90% of what Bob has provided you will be identical in
VB.NET. Mostly you need only replace the { and } with the right keywords and strip out the ;. There are many
VB.NET <-> C# converters out there as well.
-Peter