Compile time error: cannot convert from specific type to a generic type
- by Water Cooler v2
I get a compile time error with the following relevant code snippet at the line that calls NotifyObservers in the if construct.
public class ExternalSystem<TEmployee, TEventArgs> : ISubject<TEventArgs>
where TEmployee : Employee
where TEventArgs : EmployeeEventArgs
{
protected List<IObserver<TEventArgs>>…