The Dequeue method is used to dequeue the first string.
Imports System Imports System.Collections.Generic
Module Example Sub Main Dim numbers As New Queue(Of String)
numbers.Enqueue("one")
numbers.Enqueue("two")
numbers.Enqueue("three")
numbers.Enqueue("four")
numbers.Enqueue("five")
Console.WriteLine("Dequeuing '{0}'", numbers.Dequeue()) End Sub End Module