public void DoSomething() { d.DoSomething(); }
public void DoSomething() { var d = new Dependency(); d.DoSomething(); }