Imports System
Imports System.Collections.Generic
Public Class Example
Public Shared Sub Main(ByVal args As String())
Dim list As List(Of Integer) = New List(Of Integer) From {
5, 3, 6, 7, 1, 4, 9, 8
}
list.sort()
list.RemoveAt(0)
list.RemoveAt(0)
Console.WriteLine(String.Join(" ", list))
End Sub
End Class
' run
'
' 4 5 6 7 8 9
'