2020-11-13から1日間の記事一覧
■Sub LamdaTest(Sub() Console.WriteLine("LamdaTest2")) Public Sub LamdaTest(testMethod As Action) ’---Action()はNG testMethod() ’---赤字のラムダ式が実行される End Sub ///実行結果 ”LamdaTest2” ■Function LamdaTest2(Function(val) "LamdaTest" &…
■Sub LamdaTest(Sub() Console.WriteLine("LamdaTest2")) Public Sub LamdaTest(testMethod As Action) ’---Action()はNG testMethod() ’---赤字のラムダ式が実行される End Sub ///実行結果 ”LamdaTest2” ■Function LamdaTest2(Function(val) "LamdaTest" &…