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();
In C# 6.0 you can do it in a very elegant way:
attribs.something = entry.Properties["something"].Value?.ToString();
And here is an article about new null-conditional operator.