Does c# have anything comparable to Python's list comprehensions

Posted by minty on Stack Overflow See other posts from Stack Overflow or by minty
Published on 2008-11-27T05:55:24Z Indexed on 2010/04/29 17:37 UTC
Read the original article Hit count: 413

Filed under:
|
|

I want to generate a list in C#. I am missing python's list comprehensions. Is there a c# way to create collections on the fly like list comprehensions or generator statements do in python?

© Stack Overflow or respective owner

Related posts about c#

Related posts about python