C#清單 用定界符字符串 - C# List to string with delimiter

問題:

Is there a function in C# to quickly convert some collection to string and separate values with delimiter? C#中是否有一個函數能夠將某些集合快速轉換爲字符串並使用定界符分隔值? 函數

For example: 例如: ui

List<string> names --> string names_together = "John, Anna, Monica" List<string> names -> string names_together = "John, Anna, Monica" spa


解決方案:

參考一: https://stackoom.com/question/F01l/C-清單-string-用定界符字符串
參考二: https://oldbug.net/q/F01l/C-List-string-to-string-with-delimiter
相關文章
相關標籤/搜索