public double Radius { get; set; }
public Chevre(double radius)
public double SaheniHesabla()
return Math.PI * Math.Pow(Radius, 2);
public static void Main()
Chevre chevre = new Chevre(5);
double sahe = chevre.SaheniHesabla();
Console.WriteLine("Çevrənin sahəsi: " + sahe);