Code from the Central Penn .NET user group meeting on 11/18/2014