Code Snippets from my GIS blog at http://MapRantala.com . Includes Avenue, python, ArcObjects, arcpy and VB.Net.