自定义类:

C#中Dictionary<TKey,TValue>排序方式
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharp中Dictionary排序方式
{
    [Serializable]
    public class CustmonizedClass
    {
        public string stuName { get; set; }

        public int stuAge { get; set; }

        public string stuSex  { get; set; }

        public double stuScore { get; set; }
       
    }
}
C#中Dictionary<TKey,TValue>排序方式

相关文章: