using System.Xml.Linq;
public class Example
{
public static void Main()
{
Console.Write("<< 1차 내림차순 정렬 >> \n");
string[] words = { "this", "code", "killer", "very", "funny" };
IEnumerable<string> query = from word in words
orderby word.Substring(0, 1) descending
select word;
foreach (string str in query)
Console.WriteLine(str);
Console.WriteLine(System.Environment.NewLine);
Console.WriteLine("Press any key to exit");
Console.ReadKey();
}
}