Guest User

Untitled

a guest
Jul 16th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | None | 0 0
  1.     public string Type { get; set; }     // String property for Lizard object
  2.     public int Number { get; set; }      // Number of lizards
  3.     public bool Healthy { get; set; }    // Whether lizard is healthy
  4.  
  5.     public Lizard(string t, int n, bool h)
  6.     {
  7.     Type =    t;
  8.     Number =  n;
  9.     Healthy = h;
  10.     }
Add Comment
Please, Sign In to add comment