No, but if you changed your AddRange signature to return the list instance, then you could at least do
var list = new List<int>().AddRange(array, n);
which imho is probably clearer than overloading the constructor anyway.
No, but if you changed your AddRange signature to return the list instance, then you could at least do
var list = new List<int>().AddRange(array, n);
which imho is probably clearer than overloading the constructor anyway.