string[] student1 = {"1","s","3","5","d","5"};
string[] student2 = {"2","d","4","s","g","a"};
ArrayList student = new ArrayList();
Array.Sort(student1);
Array.Sort(student2);
foreach(string s1 in student1)
{
foreach(string s2 in student2)
{
student.Add(s1 + s2);
}
}
string[] c = (string[])student.ToArray(typeof(string)); |