Click here to Skip to main content
15,896,259 members
Articles / Programming Languages / C#

Thread-safe enumeration in C#

Rate me:
Please Sign up or sign in to vote.
4.85/5 (32 votes)
4 Feb 2010Public Domain4 min read 135.8K   71  
A way to have thread-safe foreach statements without explicit locking.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under A Public Domain dedication


Written By
Software Developer (Senior)
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions