Say I have following the following snippet (context narrowed down to limit scope of question)
int? nullableId = GetNonNullableInts().FirstOrDefault();
Because GetNonNullableInts() returns ints, the FirstOrDefault will default to 0.
Is there a way to make the FirstOrDefault on a list of ints return a null value when the list is empty?