Tech Off Post

Single Post Permalink

View Thread: How about some syntax sugar for IEnumerable<>?
  • User profile image

    I posted this to my nacent blog, but I'd probably reach a wider audience broadcasting to Mars, so...

    I find myself wanting to use IEnumerable<> in my own API, but it's not very readable. I'd love it if MS stole an idea from themselves, and gave us some syntax sugar for this useful interface. In other words, instead of IEnumerable<Foo>, I'd like to see just Foo*. What do you think?