How to store and use list of interface implementations in C#?
I would like to make a quick way of registering HangFire jobs. They all implement IJob interface (which contains Task Run()). Problem is I can’t get the list to accept the models created that way. Example: