Sorting array in C?

using System.Linq;

myArray.OrderBy(s=>s).ToArray();

or

myArray.OrderByDescending(s=>s).ToArray();