Код: Выделить всё
var containsMethod = typeof(Enumerable).GetMethod("Contains",
new[] {
typeof(IEnumerable),
typeof(T)
});
Как правильно получить информацию о методе?
Подробнее здесь: https://stackoverflow.com/questions/175 ... ion-method
Код: Выделить всё
var containsMethod = typeof(Enumerable).GetMethod("Contains",
new[] {
typeof(IEnumerable),
typeof(T)
});