コード例 #1
0
 public double CalculateInsurance(Pensioner pensioner)
 {
     Console.WriteLine("Insurance for {0} (pensioner) in ERGO costs: {1}", pensioner.Name, 435);
     return(435);
 }
コード例 #2
0
 public double CalculateInsurance(Pensioner pensioner)
 {
     Console.WriteLine("Insurance for {0} (pensioner) in Lietuvos draudimas costs: {1}", pensioner.Name, 415);
     return(415);
 }