🌈 搜索
📅  最后修改于: 2022-03-11 14:49:06.535000             🧑  作者: Mango
return ((IEnumerable)parentList).Cast() .Select(item => new SelectItem { Value = item, Text = item.ToString() }) .OrderBy(selectItem => selectItem.Text) .ToList();