Storing a Lambda Expression in a Variable

前端 未结 3 1803
野性不改
野性不改 2020-12-30 18:39

I think my brain has become fried as i\'m struggling to do something simple. In my application i have the following code to configure Nhibernate (my issue is not specific t

3条回答
  •  灰色年华
    2020-12-30 19:14

    With C# 7.0 local functions

    TResult matchDuplicates (T1 c) => _configuration = c;
    

提交回复
热议问题