79465917

Date: 2025-02-25 08:57:21
Score: 1.5
Natty:
Report link

I know it's an old question, but as of 2025, I'd solve it like this:

int count = myEnumerable?.Count() ?? 0;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chris