public string Update(IQuackObservable duck)

        {

            return "Quackologist: the " + duck.GetType().Name + " just quacked";

        }
 public string Update(IQuackObservable duck)
 {
     return("Quackologist: the " + duck.GetType().Name + " just quacked");
 }
Exemplo n.º 3
0
 public void Update(IQuackObservable duck)
 {
     Console.WriteLine("Quackologist: " + duck.GetType().Name + " just quacked.");
 }
Exemplo n.º 4
0
 public void Update(IQuackObservable duck)
 {
     Console.WriteLine("Quackologist: {0} Just Quack!", duck.GetType().Name);
 }
Exemplo n.º 5
0
 public void Update(IQuackObservable duck)
 {
     Console.WriteLine("Quackologist: " + duck.GetType().Name + " just quacked.");
 }