Generic method type and method parameter does not match [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I just stumbled over that and I can't really explain that. Say I have that code: public interface IFeature { } public class FeatureA : IFeature { } class Program { static void Main(string[] args) { var feature = new FeatureA(); Load(feature); } private static void Load(IFeature featureDefinition) { Activate