Saturday, August 30, 2014

IEnumerable Syntactic Sugar Proposal

Wyck, can you explain this in a bit more detail to me?


You are doing a foreach on SomethingElse(someArguments)


and then immediately yield returning the items


Doesn't that mean SomethingElse is already an IEnumerable of T ?


Why do you need Foo() at all?


No comments:

Post a Comment