Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,


How do i implement thread safe collections in C# 3.5 System.Collections.Concurrent namespace is available in c# 4.0 only.How to use muli threading and locking for caching .waiting for your reply.

Regards,
Sham
Posted
Comments
OriginalGriff 10-Oct-11 3:17am    
Please don't post the same question twice - I have deleted the spare.

1 solution

Try this http://msdn.microsoft.com/en-us/library/system.collections.queue(v=VS.80).aspx[^], it's from .Net 2.0, should be usable in .Net 3.5 I think.
 
Share this answer
 
Comments
RaviRanjanKr 10-Oct-11 3:25am    
My 5+

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900