Use the correct method to sort the cars
array.
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);
}