Imports System.IO
Imports System.Reflection
Imports System.Linq
Imports System.Xml.Linq
Imports System.Collections
Imports System.Collections.Generic
Public Class MainClass
Public Shared Sub Main()
Dim strings = New String() {"zero", "one", "two"}
Dim FirstO = strings.First(Function(s) s(0) = "o"c)
Console.WriteLine("A string starting with 'o': " & FirstO)
End Sub
End Class
|