static void Main(string[] args) { /*var random = new Random(); * * * * for (int i = 0; i < 5; i++) * { * Console.WriteLine(random.Next()); // 0 - 2^32 * Console.WriteLine(random.Next(100)); // 0 - 100 * Console.WriteLine(random.Next(10, 20)); // 10 - 20 * * Console.WriteLine(random.NextDouble()); // 0.0 - 1.0 * * var buffer = new byte[10]; * random.NextBytes(buffer); * Console.WriteLine(BitConverter.ToString(buffer)); * * * * var karakteri = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".ToCharArray(); * string randomText = ""; * for (int a = 0; a < 35; a++) * { * Console.WriteLine(a); * randomText += karakteri[random.Next(karakteri.Length - 1)]; // lenght = 3 || index {0 , 1 , 2} * } * Console.WriteLine(randomText); * * * Console.WriteLine(); * }*/ Console.WriteLine(BigMath.GetPi(500, 100000)); }