C
C#2y ago
surwren

Which .NET, ASP and ADO BCL classes implement the IEnumerable interface?

Is there an exhaustive list or any other way to iterate through each of the three BCLibraries to identify which classes implement the IEnumerable interface? AFAIK only List<> and arrays implement IEnumerable, but I'm curious which others there are
5 Replies
Saber
Saber2y ago
surwren
surwren2y ago
That article names some examples of IEnumerables but it's not an exhaustive list Also it doesn't show which ADO or ASP classes have concrete implementations of IEnumnerables
surwren
surwren2y ago
Do all classes of System.Collections.Generic implement IEnumerable?
Saber
Saber2y ago
will show a bunch of them, might not be all but is there any actual reason you need the entire list?
surwren
surwren2y ago
I'm just honestly curious to know the extent of LinQ usage with IEnumerables specifically