title: how to generate a voucher code in c#?
body: <p>I need to generate a voucher code[ 5 to 10 digit] for one time use only. what is the best way to generate and check if been used?</p>
  
  <p>edited: I would prefer alpha-numeric characters - amazon like gift voucher codes that must be unique.</p>