[C#] Finding the next available position in an array
Go to solution
Solved by Ciccioo,
those values must come from somewhere
if they're hardcoded in the source, just count them and hardcode their number too in the counter that fizzlesticks suggested
if they're loaded when the program is launched, just keep the counter up to date as you load up your elements from a file or database or something
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now