Пример #1
0
 public void Blah()
 {
     //I'm using bar, but I can swap it out easily without this line of code caring
     _bar.DoSomething();
 }
Пример #2
0
 public void Blah()
 {
     //I'm using bar, but I can swap it out easily without this line of code caring
     _bar.DoSomething();
     Console.WriteLine("THis is BetterFoo");
 }
Пример #3
0
 public void Blah()
 {
     _bar.DoSomething();
 }