Click here to Skip to main content
15,667,949 members
Articles / Programming Languages / C#

Tagged as

Stats

30K views
437 downloads
13 bookmarked

ForEach elements with a derived type in an IEnumerable collection

Rate me:
Please Sign up or sign in to vote.
4.87/5 (10 votes)
10 May 2012CPOL4 min read
An extension method for the IEnumerable interface to perform an action on each element which belong to a derived type of T.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Student
Poland Poland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions