static void Main(string[] args) { PrimeFactor pf = new PrimeFactor(); Console.WriteLine(pf.largest(600851475143)); Console.ReadKey(); }