Method group in VB.NET?

前端 未结 1 1948
耶瑟儿~
耶瑟儿~ 2020-12-11 16:53

James Michael Hare recently wrote a blog post about Char static methods. He talks about using a method group to write less-wordy LINQ:

         


        
相关标签:
1条回答
  • 2020-12-11 17:37

    The equivalent VB code would be:

    If myString.Any(AddressOf Char.IsLower) Then xyzzy()
    
    0 讨论(0)
提交回复
热议问题