static void Snippet1and2() { Lion objLion = new Lion(); objLion.AnimalSound(); objLion.Eat(); }
public static void Snippet2() { Lion objLion = new Lion(); objLion.AnimalSound(); objLion.Eat(); objLion.Habitat(); }