public void SampleMethod(IRequiredPrep prep) { // Remember there is not possibility of having the same method name like this. // This is just an example. So don't hard code anything. prep.SampleMethod(); }
public void SampleMethod(IRequiredPrep prep) { prep.SampleMethod(); }