List<int> list = new List<int>() {1,2,3};
string.Join<int>(",", list)
Join has generic overloads. It is so much easier to use it in that way to convert your list to the different types.
Daily micro-tips for C#, SQL, performance, and scalable backend engineering.
List<int> list = new List<int>() {1,2,3};
string.Join<int>(",", list)
Join has generic overloads. It is so much easier to use it in that way to convert your list to the different types.