netfx-System.Collections.Generic.IEnumerable.EmptyIfNull (nuget): Hate checking for nulls in Linq queries? Turn any null enumerable into an empty one as needed!   var id = schema.Elements.EmptyIfNull().FirstOrDefault(x => x == "Id")
Keywords: netfx|enumerable|linq