Reduce the reproductive rate of a rabbit with age

From TRCCompSci - AQA Computer Science
Revision as of 21:36, 13 February 2017 by Admin (talk | contribs) (Created page with "==Set method== there is already a get method for the ReproductionRate, but none for the set: <syntaxhighlight lang=csharp line> public void GetReproductionRate(double value) ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Set method

there is already a get method for the ReproductionRate, but none for the set:

1 public void GetReproductionRate(double value)
2 {
3 	ReproductionRate = value;
4 }