Skip to main content
6 events
when toggle format what by license comment
May 27, 2017 at 3:09 comment added Pablo H Micro-optimisation: I would put the yield before the foreach, to save some cycles and memory in case the iteration of the enumerator is stopped midway.
S Jul 31, 2014 at 21:25 history suggested CommunityBot CC BY-SA 3.0
Missing <T> following method name to define T
Jul 31, 2014 at 21:23 review Suggested edits
S Jul 31, 2014 at 21:25
May 22, 2014 at 13:47 comment added John Jesus +1 for populating a List using this traversal extension. I make a C# Extension for the traversal method and use it on a bunch of stuff. I find it much easier to understand than using a recursive method.
Nov 3, 2011 at 4:15 comment added John Gietzen Damn. And here I was, coming to answer this with just such a generic stack... :)
Oct 28, 2011 at 13:45 history answered Eric Lippert CC BY-SA 3.0