Stack.IsSynchronized : Stack « System.Collections « VB.Net by API






Stack.IsSynchronized

  

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

   
    
  








Related examples in the same category

1.Stack.Count
2.Stack.Peek()
3.Stack.Pop()
4.Stack.Push
5.Stack.Synchronized