Estimation of PI in C# Note The more points you generate, the more accurate the value is. Kind of explanation Example