Re: Iterators and versioning
- From: "VJ" <vijaybalki@xxxxxxxxx>
- Date: Wed, 19 Apr 2006 12:45:05 -0500
I don't understand this question... are you saying while iterating through a
collection, you have a method to modify it?.. if so, the method to modify is
given as part of the collection object, you should not use it while
iterating through the list
VJ
"kh" <kh@xxxxxxxxxxxxxxxxx> wrote in message
news:F356C32C-0A37-4E59-BA87-46665DA8B845@xxxxxxxxxxxxxxxx
I notice that using iterators it is possible to modify a collection whilst
enumerating over it's elements. Is this by design or just a side-effect of
their implementation? Viewing the disassembly for the generated classes I
note that the compiler-generated enumerator has no version checking. Is
there
an in-depth analysis of this on the www anywhere?
Thanks
kh
.
- Follow-Ups:
- Re: Iterators and versioning
- From: mustapha.jouad@xxxxxxxxx
- Re: Iterators and versioning
- Prev by Date: to know the metric one and the frequency of use of the components out of C # VS 2003
- Next by Date: Re: HasMorePages = true doesn't let me jump to next page
- Previous by thread: to know the metric one and the frequency of use of the components out of C # VS 2003
- Next by thread: Re: Iterators and versioning
- Index(es):
Relevant Pages
|