List of strings to one string

前端 未结 6 715
清酒与你
清酒与你 2020-12-22 22:29

Lets say you have a:

List los = new List();

In this crazy functional world we live in these days which one of t

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-22 22:57

    string.Concat(los.ToArray());
    

    If you just want to concatenate the strings then use string.Concat() instead of string.Join().

提交回复
热议问题