public void CallDependencyNTimes(int times) { for (int i = 0; i < times; i++) { myB.DoSomething(); } }
public void DoSomething() { System.Threading.Thread.Sleep(5); myB.DoSomething(); }