Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public string Type { get; set; } // String property for Lizard object
- public int Number { get; set; } // Number of lizards
- public bool Healthy { get; set; } // Whether lizard is healthy
- public Lizard(string t, int n, bool h)
- {
- Type = t;
- Number = n;
- Healthy = h;
- }
Add Comment
Please, Sign In to add comment