static void Main(string[] args) { HousePlant tree = new HousePlant(); tree.Name = "Tree"; tree.Fed = false; tree.Price = 29.99; HousePlant fern = new HousePlant(); fern.Name = "fern"; tree.Fed = false; tree.Price = 42.42; HousePlant ivy = new HousePlant(); ivy.Name = "ivy"; fern.Fed = true; fern.Price = 9000.01; }
static void Main(string[] args) { HousePlant Philodendron = new HousePlant(); Philodendron.Price = 29.99; Philodendron.PlantName = "Philodendron"; Philodendron.Fed = "true"; HousePlant Tree = new HousePlant(); Tree.Price = 54.23; Tree.PlantName = "Tree"; Tree.Fed = "false"; HousePlant Fern = new HousePlant(); Fern.Price = 22.69; Fern.PlantName = "fern"; Fern.Fed = "True"; }