Multiple choice .net

Which method will arrange the elements of an array in alphabetical order?

  1. Arrange

  2. Assemble

  3. Order

  4. Rank

  5. Sort

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

The Sort method arranges array elements in ascending order (alphabetical for strings). In VB.NET, you would use Array.Sort(arrayName) or arrayName.Sort() depending on context. Arrange, Assemble, Order, and Rank are not standard array sorting methods.