static
Sobirjonov O'tkirbek
using System;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(Numbers.PI);
}
}
public static class Numbers
{
private static double _pi = 3.14;
public static double PI
{
get
{
return _pi;
}
}
}
} Last updated
Was this helpful?