IsSynchronized : Stack « Collections « VB.Net Tutorial






Imports System.Threading
Imports System.Collections
public class Test
   public Shared Sub Main
               Dim S1 As New Stack()
               Dim SyncS1 As Stack = Stack.Synchronized(S1)
               Console.WriteLine("SyncS1: " & SyncS1.IsSynchronized.ToString())
               Console.WriteLine("S1: " & S1.IsSynchronized.ToString())
   End Sub
End class
SyncS1: True
S1: False








8.27.Stack
8.27.1.Stack
8.27.2.Stack: Push, Pop and Peek
8.27.3.Convert and Copy Elements in a Stack to an Array
8.27.4.IsSynchronized
8.27.5.Stack<(Of <(T>)>) generic class