Imports System.IO
Imports System.Reflection
Imports System.Linq
Imports System.Xml.Linq
Public Class MainClass
Public Shared Sub Main
Dim digits() As String = {"zero", "one", "two", "three"}
Dim IDigits = From dig In digits _
Where dig(0) = "t"
Dim reversedIDigits = IDigits.Reverse()
For Each d In reversedIDigits
Console.WriteLine(d)
Next
End Sub
End Class
|