c# Trying to reverse a list

后端 未结 7 1668
傲寒
傲寒 2020-12-13 11:44
public class CategoryNavItem
{
    public int ID { get; set; }
    public string Name { get; set; }
    public string Icon { get; set; }

    public CategoryNavItem(         


        
7条回答
  •  清歌不尽
    2020-12-13 12:13

    .Reverse() on a list reverses the items within the list, it does not return a new reversed list.

提交回复
热议问题