Example #1
0
 public double CalculateInsurance(Adult adult)
 {
     Console.WriteLine("Insurance for {0} (adult) in ERGO costs: {1}", adult.Name, 755);
     return(755);
 }
 public double CalculateInsurance(Adult adult)
 {
     Console.WriteLine("Insurance for {0} (adult) in Lietuvos draudimas costs: {1}", adult.Name, 730);
     return(730);
 }