WinForms1 C# Winform | List Sort | ObservableCollection Sort C# Winform | List Sort | ObservableCollection Sort List Sort Code - 1 List orgList = new List(); List tempList = orgList.OrderBy(x => x.FiledName).ToList(); cs Code - 2 List orgList = new List(); orgList.Sort(delegate (classObjectx, classObjecty) { if (x.FiledName == null && y.FiledName == null) return 0; else if (x.FiledName == null) return -1; else if (y.FiledName == null) return 1; else retur.. 2020. 7. 3. 이전 1 다음