why this following code don't give a list (test) with each elements different ? :confused::
Dim test As New List(Of Integer)
For i As Integer = 0 To 20
SyncLock test
Threading.Thread.Sleep(1)
test.Add(Now.Second & Now.Millisecond)
End SyncLock
Next
result with a Intel Core 2 Quad...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.