Click here to Skip to main content
12,398,181 members (65,761 online)
Click here to Skip to main content
Articles » Languages » C# » How To » Revisions

How to Insert or Delete Elements to Collection During Iteration in foreach Loop

This helps to resolve the problem of inserting or removing items from collection during iteration.
This is an old version of the currently published article.

This article has not yet been approved for publication by our membership.

Please go to the C# Table of Contents to view the list of available articles in this section.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160721.1 | Last Updated 4 May 2013
Article Copyright 2013 by Abhishek Kumar Goswami
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid