Re: generic List<>
Roberto Orsini <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
Peter Osucha wrote: > Is there a way to remove items from such collection while looping through > the collection? If you can use C# 2.0, there's the List.RemoveAll method, which removes all the list items that satisfy the condition specified as a parameter. =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com