Mega Code Archive

 
Categories / VB.Net Tutorial / LINQ
 

Lambda Functions for Str Reverse()

Imports System Imports System.Collections.Generic Imports System.Data Imports System.Linq Imports System.Text Imports System.Globalization Module Example    Public Sub Main()       Dim Backwards = Function(Str As String) Str.Reverse()       For Each Output As String In Backwards("Hello")          Console.WriteLine(Output)       Next    End Sub  End Module