私は中国語のストロークでリストを並べ替える必要があるウェブページを持っています。
次のようなコードを含むアプリケーションを作成しました。
List<Student> stuList = new List<Student>() {
new Student("上海"),
new Student("深圳"),
new Student("广州"),
new Student("香港")
};
System.Globalization.CultureInfo strokCi = new System.Globalization.CultureInfo("zh-tw");
System.Threading.Thread.CurrentThread.CurrentCulture = strokCi; ;
//stuList.sort();
しかし、エラーがあります:At least one object must implement IComparable.
これは何を意味し、どうすれば修正できますか?