// Directions: Intermediate #4-1
// 1) Fork this fiddle to your work area.
// 2) Create an array of strings with 5 super hero names in it that are not in alphabetical order. Assign the values in the variable declaration statement.
// 3) Create ouput the displays a number and the name sorted alphbetically.
// 4) Submit your dotnetfiddle link in Blackboard.
// Output
// 2) Batman
// 1) Superman
// 5) Flash
// 4) Green Lantern
// 3) Wonder Woman
using System;
public class Program
{
public static void Main()
const int n = 5;
string[] name = new string[n];
name[0] = "Superman";
name[1] = "Batman";
name[2] = "Wonder Woman";
name[3] = "Green Lantern";
name[4] = "Flash";
Array.Sort(name);
for(int i=1; i<=n; i++)
Console.WriteLine(i + ") " + name[i -1]);
}