Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, what is the most proper right to create a synchronized arrayList that can allow different threads to access it ? Thanks
Hi Swakswi, Use
ArrayList mySyncArrayList = ArrayList.Synchronized(myArrayList);
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemcollectionsarraylistclasssynchronizedtopic.asp