TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sudheer tiwari
NA
71
0
how to stop change of objects in collection using c#.
May 8 2015 6:59 AM
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.
Reply
Answers (
1
)
I m new to c# and facing problem in own custom namespace .
The system cannot find the file specified - Error