Alex

Alex

  • NA
  • 1
  • 0

Program - working out primes

Nov 29 2009 7:16 PM
Hi everyone, I'm new to C#. I recently decided to learn, so I coded a program that allows a user to input a number from and number to and press go. Upon pressing go my program works out all the prime numbers between the user's designated values, it also logs them in a file with format "All primes from X to Y.txt" which is saved in the same directory as the program.

It has a progress bar to demonstrate how close it is to completion also.

Is anybody interested in seeing it or the source code? I'm not sure how things work on sites like this but I figured it'd be a useful tool for some people, or it might just be interesting.

Thanks, Alex.