// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; using static System.Math; namespace E { public class Program { public static void Main(string[] args) { double x = PI / 2; Console.WriteLine(x); double x2 = Acos(Cos(x)); Console.WriteLine(x2); } } }