I need to generate progressive numbers in order to generate and save data to a database.

The classical scenario is to generate box barcodes in a warehouse management system. Each time the user wants to generate a barcode, a progressive number is generated, padded (perhaps) with zeroes and joined with a prefix (or suffix) in order to generate a barcode. These progressive numbers must thus be unique during the life of the software installation.

Is there any library providing such a thing in C#?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.