Imports System.IO
Imports System.Reflection
Imports System.Linq
Imports System.Xml.Linq
Public Class MainClass
Public Shared Sub Main
Dim numbers = New Integer() {5, 4, 1, 3, 9, 8, 6, 7, 2, 0}
Dim numsPlusOne = From num In numbers Select num + 1
Console.WriteLine("Numbers + 1:")
For Each i In numsPlusOne
Console.WriteLine(i)
Next
End Sub
End Class
|