As I understand it, in Linq the method FirstOrDefault() can return a Default value of something other than null. What I haven\'t worked out is wha
FirstOrDefault()
Default
You can use DefaultIfEmpty followed by First:
T customDefault = ...; IEnumerable mySequence = ...; mySequence.DefaultIfEmpty(customDefault).First();