You will need a new class here with elements in all your arrays as properties, e.g.:
Code:
Class MyObject
{
public string Name{get;set;}
public string ID{get;set;}
}
MyObject[] MyObjectList = {new MyObject{Name="Terry",ID="122"}, new MyObject{Name="John",ID="234"},new MyObject{Name="Edvard",ID="665"}};
for(int i=0;i<MyObjectList.Lenght, i++)
ListBoxName.Items.Add(MyObjectList[i]);
XAML
<ListBox x:Name="ListBoxName">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Name="TextBlockName" Text="{Binding Path=Name}" />
<TextBlock Name="TextBlockid" Text="{Binding Path=ID}"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
This will solve your problem, but do have a look of Data Binding
as @Abbas also suggested.