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();
 }
예제 #2
0
 public void SampleMethod(IRequiredPrep prep)
 {
     prep.SampleMethod();
 }