Finding a missing number in a series of numbers
I need a method in visual basic to find the first number missing in a series of number.
If the series was 1, 2, 3, 4, 6, 7, 9 I need it to return 5. The series run from 0000 to 9999. If there was no missing numbers I need it to return something which I could use to activate some other code.
Last edited by firefighter2045; July 30th, 2009 at 02:38 PM..
|