Menu
×
×
Correct!
Exercise:Use the correct method to sort the
string[] cars = {"Volvo", "BMW", "Ford", "Mazda"};
@(5).@(4)(@(4));
foreach (string i in cars)
{
Console.WriteLine(i);
}
string[] cars = {"Volvo", "BMW", "Ford", "Mazda"};
Array.Sort(cars);
foreach (string i in cars)
{
Console.WriteLine(i);
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?