// 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
// 1) Batman
// 2) Flash
// 3) Green Lantern
// 4) Superman
// 5) Wonder Woman
using System;
public class Program
{
public static void Main()
string[] strSuperheros = {"Batman","Green Lantern","Wonder Woman","Superman","Flash"};
Array.Sort(strSuperheros);
int i = 0;
foreach(string superhero in strSuperheros) {
i++;
Console.WriteLine(i + ") " + superhero);
}