Last active
August 29, 2015 14:23
-
-
Save csdear/ea205e8bc39fcd6ea0cc to your computer and use it in GitHub Desktop.
Basic Constructor for get / set accessor initialization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Lizard | |
| { | |
| public string Type { get; set;} | |
| public int Number {get; set;} | |
| public bool Health {get; set;} | |
| public Lizard(string t, int n, bool h) | |
| { | |
| Type = t; | |
| Number = n; | |
| Healthy = h; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment