public class Elephant : Animal
private Trunk Trunk {get; set;}
public Elephant(int height = 10, int weight = 6000, int age = 0, string color = "gray")
public void Trample(string target) =>
Console.WriteLine(!string.IsNullOrEmpty(target) ? "It's super effective!" : "It hurt itself in its confusion!");
private int Length {get; set;}
public abstract class Animal
protected int Height {get; set;}
protected int Weight {get; set;}
protected int Age {get; set;}
protected string Color {get; set;}
public void Eat(string food) =>
Console.WriteLine(!string.IsNullOrEmpty(food) ? $"mmm {food}... nom nom nom" : "...I'm hungry.");
public void GrowUp() => Age++;