C# Use Generics to Call Overridden Method
问题 I think I am a bit mixed up at this point, but I can't seem to be able to solve this issue. I have an Interface ILinkHandler<T> and 4 other handler classes (inheriting from that interface) that validate different structures of links. From that interface, I have a Task<List<T>> Validate() function that does the validation of links and returns a Task> of results. Depending on T , I return a different model on Validate() (I have 4 different models). My console app does the following. It calls