我有一个C#API,可以采用相同类型的0/1 /多个参数.什么应该是更好的方法来定义API = params与IEnumerable<T>?
params
IEnumerable<T>
c#
c# ×1