• 0

c# , reading an array of ints into a long


Question

I'm writing a Point of Sale system which uses a PS2 barcode reader to get the sequence of numbers from a barcode

it reads everything in fine and stores it in an array of 13 integers

However to be more useful to the program it would be better represented as a single long integer,

does anybody know how to read an array of ints one at a time and append this into a long integer , so that I will end up with a variable

that contains the sequence of numbers and does NOT add them together?

thanks in advance

3 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.