samanta

samanta

  • NA
  • 429
  • 131.8k

Sort Array

Dec 24 2013 1:46 AM


i have function like this

int count = ListBox1.Items.Count;
string[,] vta = new string[2, count];


for(int i = 0; i < count; i++)
{
   vta[0,i] = ListBox1.Items[i].Value;
   vta[1,i] = ListBox1.Items[i].Text;
}

how to sort this 2D array. Please anyone help

Answers (2)