using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Program
{
staticvoid Main(string[] args)
{
string[] names = {"Zheng", "Smith" };
var queryResults = names.OrderBy(n => n).Where(n => n.StartsWith("S"));
foreach (var item in queryResults)
{
Console.WriteLine(item);
}
}
}