如何使用 Array.Find 将以下内容转换为 VB.NET 谓词?
Private Function FindCulture(ByVal Code As String) As Globalization.CultureInfo
'
Dim AllCultures As Globalization.CultureInfo() = Globalization.CultureInfo.GetCultures(Globalization.CultureTypes.AllCultures)
'
For Each Culture As Globalization.CultureInfo In AllCultures
If Culture.TwoLetterISOLanguageName = Code Then
Return Culture
End If
Next
'
Return Nothing
'
End Function