Rather than make another thread, thought I'd put it in here.
Ok so I've now made 2 arrays.
For example;
Array One has 3, 2, 1
Array Two has 1, 2, 3
I want to be able to sort Array One in Ascending Order.
Then say "If Array One = Array Two" MessageBox.Show("Well Done").
and if not equal, MessageBox.Show("Have another go").
-
Problem I am coming across is I am coming across is that Array One will have the numbers mixed up. I'm trying to use the Array.Sort on the entire array.
I'm trying to put, for example, SortedNumbers = Array.Sort(array1)
But it gives the error "expression does not produce a value".
Just wondered if anyone knows how I go about doing this?
Ok so I've now made 2 arrays.
For example;
Array One has 3, 2, 1
Array Two has 1, 2, 3
I want to be able to sort Array One in Ascending Order.
Then say "If Array One = Array Two" MessageBox.Show("Well Done").
and if not equal, MessageBox.Show("Have another go").
-
Problem I am coming across is I am coming across is that Array One will have the numbers mixed up. I'm trying to use the Array.Sort on the entire array.
I'm trying to put, for example, SortedNumbers = Array.Sort(array1)
But it gives the error "expression does not produce a value".
Just wondered if anyone knows how I go about doing this?