c# list to string
List<string> names = new List<string>() { "John", "Anna", "Monica" };
string result = string.Join(",", names.ToArray());using System.Linq;
string str = list.Aggregate((x, y) => x + ',' + y);
Also in C#:
- c# windows grab screenshot
- initialize matrix c#
- download file from url asp net web api c#
- c# double value with 2 decimal places
- compose graphql query string in c#
- flip boolean c#
- c# return multiple value unity
- c# asp.net hover tooltip
- cshtml foreach
- unity reset scene
- disable mouse unity
- c# list tuple
- c# new list object
- how to get length of okobjectresult c#
- rotatearound unity
- unity resources load
- how to convert object in string JSON c#
- c# string replace comma with newline
- https request c#
- list clone - C#
- c# web form compare dates
- c# list all files in a directory and subdirectory
- asp net mvc 5 return view from another controller
- c# pull request