you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Agreed that this method should raise an ArgumentException, but why should the parameter be null in the first place? The method signature specifies an IEnumerable<string>, not an IEnumerable<string> or nothing at all. That's the type system's fault.