Finding the nth prime number in C++ – Programming, Pseudocode Example, C# Programming Example