Getting started with C# with a primality tester using Fermat's Theorem and my own Modular Exponentiation implementation.