using System;
using System.Linq;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main(string[] args)
{
string[] arr = new string[] { "python", "java", "php", "c", "c++", "c#" };
var sort = from s in arr
orderby s
select s;
foreach (string str in sort) {
Console.WriteLine(str);
}
}
}
}
/*
run:
c
c#
c++
java
php
python
*/