lundi 26 décembre 2016

C# GetMethod info of Queryable class

I'm new at Reflection and I was trying the below peice of code

var queryableLastMethodInfo = typeof(Queryable).GetMethod("Last", new Type[]{ typeof(IQueryable<>) });

but queryableLastMethodInfo always returns null.

Could you please help?





Aucun commentaire:

Enregistrer un commentaire