A site column is the building block for creating a content type. In this recipe, we will create a site column using the SharePoint object model.
You should have a fully-functional development machine with SharePoint 2010 installed and configured. You also need Visual Studio 2010 IDE installed on the same development machine. For more information on this, refer to Chapter 1, List and Event Receivers.