Like with initialization: We take like:
Dim a() as integer = {1,2,4,6}
And if i want to print the array list it will be 1 , 2 ,4,6 as output But how can i take any value i.e n value to print n values as output.
Like with initialization: We take like:
Dim a() as integer = {1,2,4,6}
And if i want to print the array list it will be 1 , 2 ,4,6 as output But how can i take any value i.e n value to print n values as output.
Seems to me your best bet will be to add n elements from the array to a second array and print that instead:
I haven't worked in VB for nearly 10 years so apologies if my code isn't 100% correct.