Cat defaultCat = new Cat();
Console.WriteLine(defaultCat.ToString());
myCat.PurchasePrice = 100;
myCat.IsVaccinated = true;
Console.WriteLine(myCat.ToString());
public string Name {get; set;}
public string Breed {get; set;}
public string Color {get; set;}
public string OwnerId {get; set;}
public double Weight {get; set;}
public double PurchasePrice {get; set;}
public bool IsVaccinated {get; set;}
public override string ToString()
return "Name is: " + Name
+ "\nOwnerId is: " + OwnerId
+ "\nWeight is: " + Weight
+ "\nPurchasePrice is: " + PurchasePrice
+ "\nIs Vaccinated: " + IsVaccinated