Files
  • main.cs
  • main.exe
main.cs
1
2
3
4
5
6
7
8
9
using System;

class CircleArea {
    public static void Main() {
        var radius = 1.25;
        Console.WriteLine($"Circle radius = {radius}");
        Console.WriteLine($"Circle area = {Math.PI * radius * radius}");
    }
}