Velosity of number generator

Apr 9 2009 6:01 AM
Hi,

I have some problems when I generate random number. How can I generate random number which is not duplicate.
Ex... if I have interval (from 1 to 10) I want to generate all random numbers from 1 to 10 without duplicate.
3,4,1,6,2,9,0,5,8,7 not like 4,5,3,2,9,3,3,2,1,5
 Have c# something like this. Or if have gauss random number generator it will be better.

Thanks

Answers (4)