I want to write a method that gets 2 parameters:
- an interface.
- a class that implements that interface.
I want it to be generic (compile time type safe).
is there a way? if not, whats the alternative?
is there an option to get generic param that is an interface? ho do I declare it? ?