79322288

Date: 2025-01-01 20:37:49
Score: 0.5
Natty:
Report link

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.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: William Callahan