Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

what is a ienumerable<T>?

Name: Anonymous 2010-06-03 9:39

ienumerable<int> results=...
i saw i can use it like
list<int> results=...
but i don't know what exactly is a ienumerable. could you give me a quick definition for it?

Name: Anonymous 2010-06-03 9:45

you can iterate and enumerate through it

Name: Anonymous 2010-06-03 9:49

could you explain it please

Name: Anonymous 2010-06-03 9:56

Name: Anonymous 2010-06-03 10:00

Name: Anonymous 2010-06-03 10:14

>>1
A list of integer numbers conformant with the Internet Explorer numeric format suite.

Name: Anonymous 2010-06-03 22:05

IEnumerable is a fundamental interface that most collections in .Net inherit from, such as List<T> in your example.  It's useful because I can have a function take IEnumerable<T> as a parameter and then I can pass that function anything that is derived from IEnumerable such as lists, linq queries, etc..

Name: Anonymous 2011-02-03 1:24

Don't change these.
Name: Email:
Entire Thread Thread List