if i have an array of ints

and an array of lists like : list Bins[10]

and i initialize all the lists in the bins array to null except bins[3]

and lets say Bins[3] has 1 node that has the number 8 in it

how do i get that number 8 and put it in the array of ints ?

Well, you are asking us to make many assumptions; and you aren't clear about where, exactly, you want the 8 to go in your (one dimensional?) array... so we can't help you. And you should show us some code so we have something to help you with.

I'll offer this plan of attack:

  1. loop through the array of lists
  2. loop through each list, copying each value that you find into the array 'someplace'