Here\'s the scenario...
if (entry.Properties[\"something\"].Value != null) attribs.something = entry.Properties[\"something\"].Value.ToString(); <
if (entry.Properties[\"something\"].Value != null) attribs.something = entry.Properties[\"something\"].Value.ToString();
Can you not do:
attribs.something = entry.Properties["something"].Value as string;