Introduction:
In .net 4.0 microsoft introduced new namespace called System.Numerics with 2 struct's.One of them is a BigInteger-struct which can hold arbitary large numbers. When we use BigInteger.ToString() method it had a precision to 50 digit's.
Example:
I wrote this article to explain how to calculate large prime numbers using this struct.
Code:
Download the attached code. The attached file is a .rar file. Remove .zip from the extension.

Sonu ChaudharyPosted Feb 25, 2016, 2:17 AM EST
nice article
Mahesh ChandTOP 10Posted Dec 20, 2010, 3:18 AM EST
for sharing. But can you write little about how the algorithm is implemented.