using System; namespace AbstractFactory { interface IContinent { } interface IWolf { public string Name { get; set; } void Attack(); } interface ITiger { public string Name { get; set; } void Attack(); } interface IElephant { public string Name { get; set; } void Move(); } class Wolf : IWolf { public string Name { get; set; } = "Wolf"; public void Attack() { Console.WriteLine($"{Name} is attacking "); } } class Tiger : ITiger { public string Name { get; set; } = "Tiger"; public void Attack() { Console.WriteLine($"{Name} is attacking "); } } class Elephant : IElephant { public string Name { get; set; } = "Elephant"; public void Move() { Console.WriteLine($"{Name} is moving"); } } class Giraffe : IGiraffe { public string Name { get; set; } = "Giraffe"; public void Move() { Console.WriteLine($"{Name} is moving "); } } interface IGiraffe { public string Name { get; set; } void Move(); } class PredatoryAnimal : IContinent { } class Program { static void Main(string[] args) { } } }