using System;
using System.Collections.Generic;
namespace ConsoleApp30
{
interface IShape
void Paragic();
void Makeres();
}
class Uxankyun:IShape
public void Paragic()
Console.WriteLine("(a+b)*2");
public void Makeres()
Console.WriteLine("a*b");
class Shrjanagic:IShape
Console.WriteLine("2*pi*r");
Console.WriteLine("pi*r^2");
class Programn
static void Main(string[] args)
List<IShape> a = new List<IShape>();
a.Add(new Uxankyun());
a.Add(new Shrjanagic());
foreach (IShape item in a)
Console.WriteLine();
item.Paragic();
item.Makeres();