using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main()
{
List<string> names = new List<string>();
names.Add("run");
names.Add("Right");
names.Add("Ads");
names.Add("Edward");
names.Add("won");
names.Sort();
foreach (string s in names)
Console.WriteLine(s);
Console.ReadLine();
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main()
{
List<string> names = new List<string>();
names.Add("run");
names.Add("Right");
names.Add("Ads");
names.Add("Edward");
names.Add("won");
names.Sort();
foreach (string s in names)
Console.WriteLine(s);
Console.ReadLine();
}
}
}
0 comments:
Post a Comment