What is the benefit to using List<T> over IEnumerable<T>?

Posted by Byron Sommardahl on Stack Overflow See other posts from Stack Overflow or by Byron Sommardahl
Published on 2009-11-09T15:17:45Z Indexed on 2010/05/23 19:50 UTC
Read the original article Hit count: 321

Filed under:
|
|
|

or the other way around?

I use generic lists all the time. But I hear occasionally about IEnumerables, too, and I honestly have no clue (today) what they are for and why I should use them. So, at the risk of having something on the net forever more proclaiming my ignorance, I humbly post this question.

© Stack Overflow or respective owner

Related posts about c#

Related posts about generics