Beispiel #1
0
 Risk CalculateRiskProfile(Age age, bool smoker)
 => (age < 60)
     ? Risk.Low
     : (smoker) ? Risk.High : Risk.Medium;
Beispiel #2
0
 Risk CalculateRiskProfile(Age age)
 => (age < 60) ? Risk.Low : Risk.Medium;