Module GenericFunc
Public Sub Main()
Dim convertMethod As Func(Of String, String) = AddressOf UppercaseString
Dim name As String = "test"
Console.WriteLine(convertMethod(name))
End Sub
Private Function UppercaseString(inputString As String) As String
Return inputString.ToUpper()
End Function
End Module