string number = String.Format("{0:d9}", (DateTime.Now.Ticks / 10) % 1000000000);
I am using the code above to generate random numbers for invoice number. But jus within a week i have started having the random numbers duplicating.
Can someone please help me with a much better code that quarantees uniquely random numbers.
Thank in advance
...
Go to the complete details ...