Lambda Functions for Str.Reverse() : Lambda « LINQ « VB.Net Tutorial






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








12.1.Lambda
12.1.1.Lambda Functions for Str.Reverse()
12.1.2.Assign a lambda expression to an Action<(Of <(T>)>) delegate instance