Please allow DnsClient to accept IEnumerable intead of List

May 18, 2015 at 2:54 PM
Currently, I have to keep converting IEnumerables to List because DnsClient requires a List<IPAddress>, even though internally it calls ToList anyway.

It would be nice if the API accepted more basic structures like IEnumerable<T>, IReadOnlyCollection<T> anywhere it currently requires a list. This would allow to use arrays, lists and other structures as parameters, and shouldn't break anything.