Just taking it 1 line of code at a time.
Check out my ASP.NET, SharePoint, Kentico CMS development blog at
Q&A for professional and enthusiast programmers
Stack Exchange Network staging zone, where users come together to build new Q&A sites
Q&A for system and network administrators
Q&A for computer enthusiasts and power users
Q&A for meta-discussion of the Stack Exchange family of Q&A websites
Q&A for SharePoint enthusiasts