This code generates random numbers in a Gaussian distribution, rather than uniformly (although there is a uniform pseudo-random number generator in there...).
The usual RNG, picking integers in the range 0 to 10, would tend to pick each of them an equal number of times, as the number of picks gets very large.
This RNG preferentially picks numbers in the centre of the distribution, according to the specified mean (centre) and standard deviation (width).
It is in an Excel sheet for convenience of viewing - simply enter a mean and sd in the yellow boxes and push "Go". There are further instructions on the sheet itself.
The code is translated into VBA from Numerical Recipes in C, which are incredibly useful maths programming books. They can even be downloaded at http://www.nr.com.
The translation to .Net should be pretty straightforward, hence I haven't worried about it.
If you want to quickly approximate gaussian distribution you can always just take the average of 2 random numbers. (or the more randoms you take the average from the tighter the bell curve gets).