0
是否有可能將以下函數縮短爲lambda表達式?Lambda教程和解決Lambda函數
或者(自己動手)對於vb.net中lambda的初學者教程,最好的和最容易理解的是什麼?
Function getit(ByVal wert As Integer, ByVal sk As Integer, ByVal list As List(Of Array)) As String
Dim ergebnis As String
ergebnis = "Null"
For Each strg As String() In list
If wert >= Integer.Parse(strg(0)) And wert < Integer.Parse(strg(0)) + 5 And sk = Integer.Parse(strg(1)) Then
Return strg(2)
End If
Next
Return ergebnis
End Function