Reference types are inherently nullable compared to value types, and so you should always be checking for null of reference types regardless of the presence of the Nullable boxed type. You should only be using the Nullable type for values types that need to be boxed. Thus, adding the Nullable boxed type to the return of the IEnumerator.Current
does not add any value to the code.