Recent code challenge I completed in .Net