C# 的 List<> 自定义排序
C# 的 List<> 自定义排序
原创链接
using System;
using System.Collections.Generic;
namespace Solution
{
class People : IComparable<People>
{
public People(string name, int age) { Name = name; Age = age; }
public string Name { get;
原创
2021-01-03 11:23:35 ·
476 阅读 ·
0 评论