添加List方法

This commit is contained in:
Sanchime 2022-05-12 22:30:24 +08:00
parent 3f61a327c1
commit 432cdf0045
1 changed files with 2 additions and 4 deletions

View File

@ -109,8 +109,6 @@ public static class IEnumerableExtension
=> source.SelectMany(x => x);
private static IEnumerable<T> List<T>(T t)
{
throw new NotImplementedException();
}
private static IEnumerable<T> List<T>(params T[] list)
=> list.ToImmutableList();
}