天天看點

C# - List操作 - 按照字母排序

有Family的類如下:

建立List

想要按Name把這個List<FamilyModel>排序:

方法來自:http://stackoverflow.com/questions/188141/c-sharp-list-orderby-alphabetical-order