✅ where constraint on interface method
Is it even possible? Like
Here the generic type is constrainted to where it implements an interface's method, whereas the name of the interface is
public void RefuelCar<c>(c Car) where c : IUseGas.RefuelHere the generic type is constrainted to where it implements an interface's method, whereas the name of the interface is
IUseGas