dimanche 5 mars 2017

How to convert `where` part of Linq Expression into Reflection?

I want to convert linq expression into reflection.

exp1 = p2 => p2.s[new int[] { 14, 5 }]
.Select((item, index) 
      => new { item, index })
        .Where(x=>x.index > 2)
           .Select(x => x.index).ToList();

I have converted the select part but having trouble in conversion of where part.

here i want to convert where(x=>x.index > 2) part of LINQ expression into reflection





Aucun commentaire:

Enregistrer un commentaire