Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
how to stop change of objects in collection using c#.
sudheer tiwari
May 8 2015 6:59 AM
348
Reply
how to stop change of objects in collection using c#.
my object contains multiple collection. during serialization i am getting exception of Collection was modified; enumeration operation may not execute.
At time of serialization only i wants to control change of collection.
i use lock(this) and lock(SyncRoot) both are not working fine.
any alternate option for controlling changing behavior of collection during serialization only.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
I m new to c# and facing problem in own custom namespace .
The system cannot find the file specified - Error