3 Replies
depends
what are you trying to do?
is.... is that.... polymorphism abuse on a LINQ method?
Yes, it can be simplified into one line:
Oops, I didn't notice that there's Children list in use that is not shown in the code... confusing for me that an an empty "children" list is passed in and itteration is done over a different "Children" list.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.