C# 按笔画排序using System; using System.Globalization; using System.Threading; namespace Dachie { class Program { static void Main(string[] args) { string[] arr = { "3", "1", "2", "b", "c", "a", "BB", "A", "C", "阿尔巴尼亚", "一刀切", "二刀切", "三刀切" }; //笔画数 LCID:0x00020804 CultureInfo StrokCi = new CultureInfo(133124); Thread.CurrentThread.CurrentCulture = StrokCi; Array.Sort(arr); Console.WriteLine("按笔划数排序:"); for (int i = arr.GetLowerBound(0); i <= arr.GetUpperBound(0); i++) Console.WriteLine("[{0}]:\t{1}", i, arr.GetValue(i)); } } }