Beispiel #1
0
 public string Wash(Soap soap)
 {
     return($"I am washing my hands with {soap.Name}.");
 }
Beispiel #2
0
 public string Wash(Soap soap)
 {
     return($"I am washing clothes with {soap}");
 }