**Formula for calculating the area of a circle:**

**and the code:**

using System;
class CircleArea
{
static void Main()
// Area of a circle: A=πr2
{
Console.WriteLine("Please write the radius of your circle and hit Enter afterwards: ");
double radius = double.Parse(Console.ReadLine());
double pi = Math.PI;
double area = pi * (radius * radius);
Console.WriteLine("The Area (A=πr2) of your circle is: {0:0.00}", area);
}
}

**For formatting 2 digits after the decimal point I used: {0:0.00}**

**but you can also use {0:0.F2}**