Is the following pseudocode thread-safe ?
IList dataList = SomeNhibernateRepository.GetData(); Parallel.For(..i..) { foreach(var item in dataLi
If whay you say is correct then I would say so. But what you say or think may not what happen in reality. How can you say in code what you have said. How to enforce the constraint that List is never modified?