pmMDA.NET

SortedArray.IsSynchronized Property

[This is preliminary documentation and subject to change.]

Gets whether the access to this list is synchronized (thread-safe).

public bool IsSynchronized {get;}

Property Value

Always false.

Implements

ICollection.IsSynchronized

Remarks

SyncRoot returns an object, which can be used to synchronize the access to this list.

Enumerating through an list is intrinsically not a thread-safe procedure. Even when an list is synchronized, other threads could still modify the list, which causes the enumerator to throw an exception. To guarantee thread safety during enumeration, you can either lock the list during the entire enumeration or catch the exceptions resulting from changes made by other threads.

See Also

SortedArray Class | PmMda.Net.Dog.Paging Namespace