When you’re accessing built in SharePoint fields (such as Title) from code, do you go:
listItem["Title"] = xVar;
listItem[0] = xVar;
Don’t! Have a look at SPBuiltInFieldId that keeps tracks of the Id’s for the built in fields for you:
string title = myListItem[SPBuiltInFieldIds.Title];
Tags: .NET Development, SharePoint