hi
i want with string name of method get a lsit of type
MethodInfo methodInfo = myType.GetMethod("GetAll");
var returnValue = methodInfo.Invoke(obj, null);
method "GetAll" return a IEnumerable
but i want get this IEnumerable and save in List?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Nov 8, 2015, 9:31 AM EST
Bahar N.V198416 reputationPosted Nov 8, 2015, 10:53 PM EST
Afzaal Ahmad ZeeshanRank #60 · 27.6K reputationPosted Nov 9, 2015, 7:42 AM EST
Bahar N.V198416 reputationPosted Nov 20, 2015, 4:14 AM EST