Click here to Skip to main content
13,052,163 members (50,904 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...

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