A
anon
Isnt IsSynchronized supose to return True?
Sadly the reference topic on IsSynchronized includes a small sample code
that only mentions lock(SyncRoot) with no example of what IsSynchronized is
supose to do.
Real sad
Alex
using System;
using System.Collections;
....
ArrayList MyICollection = new ArrayList(10);
lock (MyICollection.SyncRoot)
{
Console.WriteLine("Sync: {0}", MyICollection.IsSynchronized);
}
....
Sadly the reference topic on IsSynchronized includes a small sample code
that only mentions lock(SyncRoot) with no example of what IsSynchronized is
supose to do.
Real sad
Alex
using System;
using System.Collections;
....
ArrayList MyICollection = new ArrayList(10);
lock (MyICollection.SyncRoot)
{
Console.WriteLine("Sync: {0}", MyICollection.IsSynchronized);
}
....